Added some PDP-10/MACRO-10 blog updates

This commit is contained in:
Jeff 2017-03-24 16:23:27 -07:00 committed by Jeff Parsons
commit dd24f4bb61
5 changed files with 188 additions and 12 deletions

View file

@ -1709,6 +1709,7 @@ class DebuggerPDP10 extends Debugger {
*/
if (opCode < 0) {
sOperands = sOpcode + sOperands;
sOpcode = "";
opCode = 0;
}
}

View file

@ -240,7 +240,7 @@ class Macro10 {
* [4]: operand(s), if any
* [5]: comment, if any
*/
this.reLine = /^\s*([A-Z$%.?][0-9A-Z$%.]*:|)\s*([A-Z$%.][0-9A-Z$%.]*|)(\s*)([^;]+|)(;?[\s\S]*)/i;
this.reLine = /^[ \t]*([A-Z$%.?][0-9A-Z$%.]*:|)[ \t]*([A-Z$%.][0-9A-Z$%.]*|)([ \t]*)([^;]+|)(;?[\s\S]*)/i;
this.macroCall = null; // the active macro being called, if any