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

#11
Posts: 281
Threads: 18
Thanks Received: 13
Thanks Given: 8
Joined: Mar 2014
Reputation: 8
Status
None
Glad you fixed it. One thing to also look out for is that you need to keep track of register width (8/16-bit A and X/Y) inbetween stack accesses so that you don't accidentally push/pull too many or too few bytes to/from the stack. This is why you generally place PHP at the very start and PLP at the very end of functions.
  Find
Quote  



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

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite