Search found 2 matches
- Tue Oct 15, 2019 9:51 pm
- Forum: Programming
- Topic: RTS after branching possible?
- Replies: 7
- Views: 2651
Re: RTS after branching possible?
Welcome razorfishsl! Yes, jedSavage, like razorfishsl said, JSR, RTS, and RTI can be used to pull various not-so-obvious tricks. The processor doesn't care where you've been. When it sees RTS, it just pulls the top two bytes of the page-1 hardware stack (typically put there by JSR but not ...
- Tue Oct 15, 2019 4:03 am
- Forum: Programming
- Topic: RTS after branching possible?
- Replies: 7
- Views: 2651
Re: RTS after branching possible?
Two points:
1.
Read the actual write up about "RTS", the CPU does not actually "remember" the flow of the program as if it is a sentient being, it just follows the flow of the instruction execution.
Technically speaking yes "RTS" is used to return from a subroutine call.. but it's all a matter of ...
1.
Read the actual write up about "RTS", the CPU does not actually "remember" the flow of the program as if it is a sentient being, it just follows the flow of the instruction execution.
Technically speaking yes "RTS" is used to return from a subroutine call.. but it's all a matter of ...