107 (ins>>14)&0x1FF // Field C |
107 (ins>>14)&0x1FF // Field C |
108 ]); |
108 ]); |
109 if(debugMode) |
109 if(debugMode) |
110 { |
110 { |
111 var pi = this.instructions[this.instructions.length-1]; |
111 var pi = this.instructions[this.instructions.length-1]; |
112 sys.puts("Pos: "+(this.pos-4)+" Ins: "+ins+" OP: "+INS_OPCODE(pi)+" A: "+INS_A(pi)+" B: "+INS_B(pi)+" C: "+INS_C(pi)+" Bx: "+INS_Bx(pi)); |
112 sys.puts("Pos: "+(this.pos-4)+" Ins: "+ins+" OP: "+INS_OPCODE(pi)+" A: "+INS_A(pi)+" B: "+INS_B(pi)+" C: "+INS_C(pi)+" Bx: "+INS_Bx(pi)+" sBx: "+(INS_Bx(pi)-0x1FFFE)); |
113 } |
113 } |
114 } |
114 } |
115 |
115 |
116 this.constants = []; |
116 this.constants = []; |
117 |
117 |