BSR

BSR

Operation:
SP-4 -->; SP; PC -->; (SP); PC + d -->; PC

Assembler Syntax:
BSR <label>

Attributes: Size = (Byte, Word, Long)

Description: Pushes the long word address of the instruction
immediately following the BSR instruction onto the system
stack. The PC contains the address of the instruction plus two.
Program execution continues at location (PC) + displace-
ment. The PC contains the address of the instruction
word of the BRA instruction plus two. The displacement is a
twos compliment integer that represents the relative distance
in bytes from the current PC to the 16-bit displacement
(the word immediately following the instruction) is used.
If the 8-bit displacement field in the instruction word is all
ones ($FF), the 32-bit displacement (long word immediately
following the instruction) is used. Condition code cc specifies
one of the following conditions.

Condition Codes:
Not affected.