Users browsing this thread: 1 Guest(s)
JSR Returning to wrong place in code

#2
Posts: 3,971
Threads: 279
Thanks Received: 237
Thanks Given: 58
Joined: Oct 2011
Reputation: 65
Status
Tissue-aware
It's usually a problem with the stack. This happens when you push inside a function but don't pull before the RTS/RTL. Same thing if you push then do a JSR then pull or another thing, pushing twice and only pulling once. But this is really common mistake for me and for a lot of ASM newbies, maybe you're talking about something else...

Edit: Or are you saying your JSR goes to another offset than the opcode params???
  Find
Quote  



Messages In This Thread
RE: JSR Returning to wrong place in code - by madsiur - 11-30-2016, 05:12 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite