Glucocorticoid wrote
there's no way to let the @ function point to the address specified in SP.
The address in SP is just like the data in a variable. To load variable X into the D register, you would use
@X
D=M
To get the address in SP into the A register, do the same thing using SP and A instead of X and D.
--Mark