Login
Back to forumSee the full topicGo to last reply

Posted By

Csabo
on 2008-12-24
10:41:53
 Re: How retrieve stack pointer

You can use the TSX opcode, which will transfer the value of the stack pointer to the X register. Once it's in X, it's trivial to place it to wherever you need it. (The opposite - TXS - can used to directly change the value of SP.)



Back to top


Copyright © Plus/4 World Team, 2001-2024