Cleaned up PDP-11/70 configs
This commit is contained in:
parent
2a1be67727
commit
854b40c419
28 changed files with 531 additions and 261 deletions
|
|
@ -534,6 +534,20 @@ CPUStatePDP11.prototype.getPC = function()
|
|||
return this.regsGen[PDP11.REG.PC];
|
||||
};
|
||||
|
||||
/**
|
||||
* getLastPC()
|
||||
*
|
||||
* @this {CPUStatePDP11}
|
||||
* @return {number}
|
||||
*/
|
||||
CPUStatePDP11.prototype.getLastPC = function()
|
||||
{
|
||||
/*
|
||||
* As long as we're always snapping the PC before every opcode, we might as well use it....
|
||||
*/
|
||||
return this.regMMR2;
|
||||
};
|
||||
|
||||
/**
|
||||
* getPCWord()
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue