Added disassembly of basic PDP-10 operations
This commit is contained in:
parent
da3bb4740c
commit
3b27f45b76
7 changed files with 511 additions and 381 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue