RTIs work now :D
authorAlyssa Rosenzweig <alyssa@backtick.town>
Thu, 30 Jun 2016 18:52:16 +0000 (11:52 -0700)
committerAlyssa Rosenzweig <alyssa@backtick.town>
Thu, 30 Jun 2016 18:52:16 +0000 (11:52 -0700)
src/CPU/build-cpu.js

index a816230..5c65bf6 100644 (file)
@@ -115,7 +115,7 @@ var sources = table.map(function(x, i) {
 
         instruction.push('say "' + x.assembler + '"');
 
-        if(x.name != "JMP" && x.name != "JSR") {
+        if(x.name != "JMP" && x.name != "JSR" && x.name != "RTI") {
             instruction.push("change PC by " + x.size);
         }
 
This page took 0.024058 seconds and 4 git commands to generate.