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

index 205bf24..f93d104 100644 (file)
@@ -83,6 +83,10 @@ var sources = table.map(function(x, i) {
                     return q;
                 }
             });
+        } else if(mode == "W") {
+            ins = ins.map(function(q) {
+                return q.replace(/set OP to/, "mapper write address");
+            });
         } else if(mode == "RAW") {
             ins = ins.map(function(q) {
                 return q.replace(/OP/g, "address");
This page took 0.024525 seconds and 4 git commands to generate.