PER
(push effective relative) (only processor 65816) Tags: none
Description:
The PER instruction pushes an effective program counter relative address onto the stack, a capability helpful in writing relocatable code. The operand you specify to the assembler is a location in the program, for example, of a data area; the operand the assembler generates is a sixteen-bit relative displacement, the difference between the next instruction’s address and the operand address. Decreases stack indicator S by two.
Example:
|