Users browsing this thread: 1 Guest(s)
JSR Returning to wrong place in code
12-04-2016, 12:30 PM
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.
« Next Oldest | Next Newest »
|
||||
Users browsing this thread: 1 Guest(s)