Added disassembly of basic PDP-10 operations

This commit is contained in:
Jeff Parsons 2017-02-24 23:15:53 -08:00 • committed by Jeff Parsons
commit 3b27f45b76
7 changed files with 511 additions and 381 deletions

View file

@ -324,7 +324,7 @@ class CPUStatePDP10 extends CPUPDP10 {
*/
getOpcode()
{
var pc = this.regPC;
var pc = this.pcLast = this.regPC;
var opCode = this.readWord(pc);
this.regPC = (pc + 1) % PDP10.ADDR_LIMIT;
return opCode;