JSR
authorAlyssa Rosenzweig <alyssa@backtick.town>
Thu, 23 Jun 2016 04:13:06 +0000 (21:13 -0700)
committerAlyssa Rosenzweig <alyssa@backtick.town>
Thu, 23 Jun 2016 04:13:06 +0000 (21:13 -0700)
src/CPU/instructions/JSR [new file with mode: 0644]

diff --git a/src/CPU/instructions/JSR b/src/CPU/instructions/JSR
new file mode 100644 (file)
index 0000000..effcff9
--- /dev/null
@@ -0,0 +1,7 @@
+RAW
+set tmp to (join "0x" (PC)) + 2
+mapper write (256 + S) ( (tmp - (tmp mod 256)) / 256)
+set S to (S - 1) mod 256
+mapper write (256 + S) (tmp mod 256)
+set S to (S - 1) mod 256
+set PC to OP
This page took 0.022312 seconds and 4 git commands to generate.