SPRUI30H November 2015 – May 2024 DRA745 , DRA746 , DRA750 , DRA756
Call Using a 22-Bit Signed Constant Offset
CALL scst22
Functional unit = D
32 bit
31 | 10 | 9 | 0 |
scst22 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
22 | opcode |
Store the link register (LR) to the location pointed to by the stack pointer (SP), decrement the SP, store PC + 3 into LR, then perform an unconditional branch to the address specified by the PC relative immediate signed halfword offset (scst22).
This instruction has one delay slot. See Section 8.2.A.3.1 for restrictions on scheduling an instruction in this delay slot.
None
*(SP) = LR; SP -=4; LR = PC + 3; PC = PC + scst22