BIT
authorAlyssa Rosenzweig <alyssa@backtick.town>
Thu, 23 Jun 2016 18:10:34 +0000 (11:10 -0700)
committerAlyssa Rosenzweig <alyssa@backtick.town>
Thu, 23 Jun 2016 18:10:34 +0000 (11:10 -0700)
src/CPU/instructions/BIT [new file with mode: 0644]

diff --git a/src/CPU/instructions/BIT b/src/CPU/instructions/BIT
new file mode 100644 (file)
index 0000000..0088a0b
--- /dev/null
@@ -0,0 +1,3 @@
+R, N
+set flagV to <(OP mod 128) > 63>
+set flagZ to <<(item (join (letter 1 of A) (letter 1 of OP))+1 of AND) = 0> and <(item (join (letter 2 of A) (letter 2 of OP))+1 of AND) = 0>>
This page took 0.033202 seconds and 4 git commands to generate.