SPRUI30H November 2015 – May 2024 DRA745 , DRA746 , DRA750 , DRA756
Set Loop Address
SLA ucst16, creg
Functional unit = S
32 bit
31 | 16 | 15 | 11 | 10 | 9 | 0 |
ucst16 | creg | x | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 |
16 | 5 | opcode |
Sets up loop bound address using a program counter (PC)-relative immediate positive offset. A zero-extended 16-bit unsigned immediate value (ucst16) is added to the PC of the instruction and is written to creg. Note that the offset is treated as a halfword offset. The only allowed creg registers for this instruction are: LSA0, LEA0, LSA1, and LEA1.
None
creg = PC + {zero extend}ucst16