Fixed MACRO-10 literal processing (literals need to be evaluated as early as possible, but not allocated until the end is reached)
This commit is contained in:
parent
6ad35d2d17
commit
471a93353e
14 changed files with 447 additions and 299 deletions
|
|
@ -1756,9 +1756,11 @@ class DebuggerPDP10 extends Debugger {
|
|||
}
|
||||
continue;
|
||||
}
|
||||
if (operand < 0 || operand > PDP10.OPCODE.Y_MASK) {
|
||||
operand &= PDP10.ADDR_MASK;
|
||||
if (MAXDEBUG) this.println("address (" + sOperand + ") truncated to " + this.toStrBase(operand));
|
||||
if (sOpcode) {
|
||||
if (operand < 0 || operand > PDP10.OPCODE.Y_MASK) {
|
||||
operand &= PDP10.ADDR_MASK;
|
||||
if (MAXDEBUG) this.println("address (" + sOperand + ") truncated to " + this.toStrBase(operand));
|
||||
}
|
||||
}
|
||||
opCode += operand;
|
||||
sOperand = match[3];
|
||||
|
|
|
|||
Loading…
Reference in a new issue