0
如何将物品向上移动到堆叠中?将物品向上移动
(伪代码,因为里面的代码和寄存器推会有所不同。)
push registers to stack
alter the registers
get return value on top of the stack
keep the top of the stack but restore the registers
使堆栈看起来是这样的:
(上)
(返回值)
(注册)
(注册)
...
(注册)
我想使它看起来像这样:
(上)
(返回值)
再有寄存器从堆栈中获取它们的值。这是可能吗?我正在努力做到这一点。这可以做到吗?先谢谢你。