为什么传递的值0(SP)
只能在 处访问4(SP)
?例如,我需要将一个数字传递给printn
by0(SP)
而不是4(SP)
(因为它在例程中使用),否则它将不起作用。我错过了什么?
MOVE #12,D0
MOVE D0,0(SP) here I use 0 offset
PRINTN:
MOVE 4(SP),D1 |and here 4. Shoudln't be the same?
MOVE #3,D0
TRAP #15
RTS