CPU corrections
This commit is contained in:
@@ -520,7 +520,7 @@
|
||||
line : line,
|
||||
lines : lines,
|
||||
target : address,
|
||||
seekToPC: seekToPC,
|
||||
seekToPC: !!seekToPC,
|
||||
size : (end - start + 1) * 4
|
||||
});
|
||||
}
|
||||
|
||||
@@ -366,9 +366,9 @@
|
||||
let bits = this.bits(inst);
|
||||
let reg2 = this.PROREGNAMES[bits >> 21 & 31];
|
||||
let reg1 = this.PROREGNAMES[bits >> 16 & 31];
|
||||
let subop = this.signExtend(bits & 0xFFFF, 16);
|
||||
let subop = bits >> 10 & 63;
|
||||
inst.mnemonic = this.FLOATENDO[subop];
|
||||
if (inst.mnemonic = null)
|
||||
if (inst.mnemonic == null)
|
||||
return;
|
||||
switch (subop) {
|
||||
case 0b001000: // XB
|
||||
|
||||
@@ -149,6 +149,7 @@ globalThis.MemoryWindow = class MemoryWindow extends Toolkit.Window {
|
||||
command: "Write",
|
||||
sim : this.debug.sim,
|
||||
dbgwnd : "Memory",
|
||||
debug : true,
|
||||
address: this.selected,
|
||||
type : 0,
|
||||
value : value
|
||||
|
||||
@@ -483,7 +483,7 @@
|
||||
setRegister(value) {
|
||||
this.debug.core.postMessage({
|
||||
command: "SetRegister",
|
||||
debug : "CPU",
|
||||
dbgwnd : "CPU",
|
||||
id : this.id,
|
||||
sim : this.debug.sim,
|
||||
type : this.system ? this.id == -1 ? "pc" : "system" : "program",
|
||||
|
||||
Reference in New Issue
Block a user