JSR
[ScratchNES.git] / src / CPU / instructions / JSR
1 RAW
2 set tmp to (join "0x" (PC)) + 2
3 mapper write (256 + S) ( (tmp - (tmp mod 256)) / 256)
4 set S to (S - 1) mod 256
5 mapper write (256 + S) (tmp mod 256)
6 set S to (S - 1) mod 256
7 set PC to OP
This page took 0.061822 seconds and 4 git commands to generate.