CM.POP
Pop Registers
CM.POP {reg_list}, stack_adj
Pops multiple registers from the stack and restores sp.
Details
CM.POP (Zcmp) restores a set of registers from the stack, increments sp by the matching stack-frame size, and returns. Used as a function epilogue.
Pseudocode Operation
{regs} = Mem[SP]; SP += adj;
Example
CM.POP {reg_list}, stack_adj
Encoding
Binary Layout
?
31:16
10111010
15:8
c_rlist
7:4
c_spimm
3:2
10
1:0
Operands
-
rlist
Register List -
stack_adj
Stack Adjustment