Captain Cozmos Posted August 21, 2022 Share Posted August 21, 2022 In my travels I am coming across two programming statement of which one I understand completely and the 2nd I need help with. I understand Call WRITE_REGISTER, It is self explanatory. However I keep coming across this in many of the older games. JP WRITE_REGISTER. Of course it does the same thing but how do we return from this Jump? I can make an educated guess that at the end of the routine there is a RET command that would what, return it to the last call before the JP command? Is there something in Write Register that adjusts the stack pointer or does it go through the BIOS and find it's way back. I just wanted to know if anyone has encountered this and what did you find out. TIA CC Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.