Added MACRO-10 support for OPDEFs, which are macro-like statements used to generate words which can also be combined with addressing modifiers
This commit is contained in:
parent
642e43937e
commit
d0ff759684
6 changed files with 256 additions and 159 deletions
|
|
@ -372,7 +372,7 @@ PDP10.opLDB = function(op, ac)
|
|||
var w = this.readWord(this.regEA);
|
||||
if (this.regBP < 0) {
|
||||
this.regBP = w;
|
||||
this.regRA = this.regEA | PDP10.OPCODE.I_BIT;
|
||||
this.regRA = this.regEA | PDP10.OPCODE.I_FIELD;
|
||||
return;
|
||||
}
|
||||
var p = (this.regBP / PDP10.OPCODE.P_SCALE) & PDP10.OPCODE.P_MASK;
|
||||
|
|
@ -458,7 +458,7 @@ PDP10.opDPB = function(op, ac)
|
|||
var w = this.readWord(this.regEA);
|
||||
if (this.regBP < 0) {
|
||||
this.regBP = w;
|
||||
this.regRA = this.regEA | PDP10.OPCODE.I_BIT;
|
||||
this.regRA = this.regEA | PDP10.OPCODE.I_FIELD;
|
||||
return;
|
||||
}
|
||||
var p = (this.regBP / PDP10.OPCODE.P_SCALE) & PDP10.OPCODE.P_MASK;
|
||||
|
|
|
|||
Loading…
Reference in a new issue