Pop from the stack (Pop Registers from Stack)
The following can be specified as rt and rh:
Loads general-purpose register rt to rh from the stack in descending order (rt, rt - 1, rt - 2, ..., rh). After all the registers down to the specified register have been loaded, sp is updated (incremented).
The lower two bits of the address specified by sp are masked by 0. |
If the relationship between the register numbers specified as rh and rt is rh > rt, the assembler outputs the following message. |
If a register that includes sp (r3) is specified as the restore register (rh = 3 to 31), the value read from the memory is not stored in sp (r3). This allows the POPSP instruction to be correctly re-executed after execution has been halted. |