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
|
|
@ -217,7 +217,7 @@ class MemoryPDP10 {
|
|||
* converting any signed values to their unsigned (two's complement) counterpart, provided they are
|
||||
* within the acceptable range. Any values outside that range will be dealt with afterward.
|
||||
*/
|
||||
if (pattern < 0 && pattern >= -PDP10.MIN_NEG36) {
|
||||
if (pattern < 0 && pattern >= -PDP10.INT_LIMIT) {
|
||||
pattern += PDP10.WORD_LIMIT;
|
||||
}
|
||||
pattern = Math.trunc(Math.abs(pattern)) % PDP10.WORD_LIMIT;
|
||||
|
|
|
|||
Loading…
Reference in a new issue