Added lots of PDP-10 compare/increment/decrement/skip/jump instructions
This commit is contained in:
parent
70cd954974
commit
0dc6b7276b
16 changed files with 1171 additions and 650 deletions
|
|
@ -486,11 +486,10 @@ class CPUStatePDP10 extends CPUPDP10 {
|
|||
}
|
||||
|
||||
/**
|
||||
* setPC()
|
||||
* setPC(addr)
|
||||
*
|
||||
* NOTE: Unlike other PCjs emulators, such as PCx86, where all PC updates MUST go through the setPC()
|
||||
* function, this function is nothing more than a convenience, because in the PDP-11, the PC can be loaded
|
||||
* like any other general register. We fully expect this function to be inlined at runtime.
|
||||
* Updates the PC register with the new address after masking it with ADDR_LIMIT (in case the
|
||||
* new address was the result of an unchecked calculation).
|
||||
*
|
||||
* @this {CPUStatePDP10}
|
||||
* @param {number} addr
|
||||
|
|
|
|||
Loading…
Reference in a new issue