lvm.js

changeset 31
bc58527bac34
parent 30
10fd886c4e8a
child 32
035aacc192d8
equal deleted inserted replaced
30:10fd886c4e8a 31:bc58527bac34
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

mercurial