Finished the PDP-10 Move Magnitude opcodes, along with the Push Down and Pop Up opcodes (uncovering some SIMH weirdness along the way)
This commit is contained in:
parent
85a338b8c4
commit
affaa1075c
8 changed files with 398 additions and 224 deletions
|
|
@ -27,5 +27,13 @@
|
|||
// 10=000000000010 11=111111444444 12=444444111111 13=777777444444
|
||||
// 14=444444777777 15=777777777777 16=777777777777 17=000000000000
|
||||
//
|
||||
0o261240000011, // 000115: PUSH 5,11
|
||||
//
|
||||
// 00=111111444444 01=777777444444 02=777777444444 03=777777444444
|
||||
// 04=444444777777 05=000001000000 06=777777777777 07=000000000000
|
||||
// 10=000000000010 11=111111444444 12=444444111111 13=777777444444
|
||||
// 14=444444777777 15=777777777777 16=777777777777 17=000000000000
|
||||
//
|
||||
0o262240000005, // 000116: POP 5,5
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,7 +11,9 @@ dep 111 533000000006
|
|||
dep 112 541000000010
|
||||
dep 113 251000000017
|
||||
dep 114 577040000002
|
||||
ex -m 100-114
|
||||
dep 115 261240000011
|
||||
dep 116 262240000005
|
||||
ex -m 100-116
|
||||
dep pc 100
|
||||
step 11
|
||||
ex 0-17
|
||||
|
|
@ -39,3 +41,14 @@ echo Execute HLRES 1,2
|
|||
;
|
||||
step 1
|
||||
ex 0-17
|
||||
;
|
||||
echo Execute PUSH 5,11
|
||||
;
|
||||
step 1
|
||||
ex 0-17
|
||||
;
|
||||
echo Execute POP 5,5
|
||||
;
|
||||
dep 5 1000000
|
||||
step 1
|
||||
ex 0-17
|
||||
|
|
|
|||
Loading…
Reference in a new issue