RAW mode
authorAlyssa Rosenzweig <alyssa@backtick.town>
Thu, 23 Jun 2016 18:21:41 +0000 (11:21 -0700)
committerAlyssa Rosenzweig <alyssa@backtick.town>
Thu, 23 Jun 2016 18:21:41 +0000 (11:21 -0700)
src/CPU/build-cpu.js

index f478698..205bf24 100644 (file)
@@ -83,7 +83,11 @@ var sources = table.map(function(x, i) {
                     return q;
                 }
             });
-        } else if(mode == "IMPLIED") {
+        } else if(mode == "RAW") {
+            ins = ins.map(function(q) {
+                return q.replace(/OP/g, "address");
+            });
+        } else if(mode == "IMPLIED" || mode == "BRANCH") {
 
         } else {
             console.error("Unsupported mode " + mode);
This page took 0.026269 seconds and 4 git commands to generate.