List of branches
authorAlyssa Rosenzweig <alyssa@backtick.town>
Thu, 23 Jun 2016 01:42:47 +0000 (18:42 -0700)
committerAlyssa Rosenzweig <alyssa@backtick.town>
Thu, 23 Jun 2016 01:42:47 +0000 (18:42 -0700)
src/CPU/branch-maker.js [new file with mode: 0644]

diff --git a/src/CPU/branch-maker.js b/src/CPU/branch-maker.js
new file mode 100644 (file)
index 0000000..211f2b3
--- /dev/null
@@ -0,0 +1,16 @@
+/**
+ * branch-maker.js
+ * look at the name
+ * it makes branches :P
+ */
+
+var fs = require("fs");
+
+// flag: [clear, set]
+
+var branches = {
+    "C": ["BCC", "BCS"],
+    "Z": ["BNE", "BEQ"],
+    "V": ["BVC", "BVS"],
+    "N": ["BPL", "BMI"]
+};
This page took 0.039658 seconds and 4 git commands to generate.