Implemented my first 4 PDP-10 opcodes (HLL, HLLI, HLLM, HLLS)
This commit is contained in:
parent
0451774bc6
commit
ed4c031035
6 changed files with 1428 additions and 1371 deletions
|
|
@ -1326,7 +1326,7 @@ class DebuggerPDP10 extends Debugger {
|
|||
*/
|
||||
if (!nState) {
|
||||
opCode = this.cpu.readWord(addr);
|
||||
if ((opCode >> PDP10.OPCODE.FNSHIFT) == PDP10.OPCODE.HALT && this.cpu.getLastPC() == addr) {
|
||||
if ((opCode >> PDP10.OPCODE.A_SHIFT) == PDP10.OPCODE.HALT && this.cpu.getLastPC() == addr) {
|
||||
addr = this.cpu.advancePC(1);
|
||||
}
|
||||
}
|
||||
|
|
@ -1420,7 +1420,7 @@ class DebuggerPDP10 extends Debugger {
|
|||
if (opMask == PDP10.OPCODE.OPIO) {
|
||||
sOperation += this.toStrBase((opCode / PDP10.OPCODE.IOSHIFT) & PDP10.OPCODE.IOMASK, -1);
|
||||
} else {
|
||||
sOperation += this.toStrBase((opCode >> PDP10.OPCODE.FNSHIFT) & PDP10.OPCODE.FNMASK, -1);
|
||||
sOperation += this.toStrBase((opCode >> PDP10.OPCODE.A_SHIFT) & PDP10.OPCODE.A_MASK, -1);
|
||||
}
|
||||
sOperation += ',';
|
||||
if (opCode & PDP10.OPCODE.I_BIT) sOperation += '@';
|
||||
|
|
|
|||
Loading…
Reference in a new issue