Added more half-word opcode tests
This commit is contained in:
parent
cafd7c493c
commit
f0bfe81cc9
3 changed files with 28 additions and 8 deletions
|
|
@ -23,10 +23,11 @@ are provided below.
|
|||
|
||||
The [PDP-10 Half-Word Opcode Test](optest-v01.json) file specifies that the following words:
|
||||
|
||||
0o505040111111, // HRLI 1,111111
|
||||
0o541040444444, // HRRI 1,444444
|
||||
0o544100000001, // HLR 2,1
|
||||
0o504100000001, // HRL 2,1
|
||||
0o505040111111, // HRLI 1,111111
|
||||
0o541040444444, // HRRI 1,444444
|
||||
0o544100000001, // HLR 2,1
|
||||
0o504100000001, // HRL 2,1
|
||||
...
|
||||
|
||||
should be loaded at address 0o100, and that the program counter (PC register) should be set to 0o100. The embedded
|
||||
comments display the instructions that correspond to each word.
|
||||
|
|
|
|||
|
|
@ -2,9 +2,15 @@
|
|||
"load": 0o100,
|
||||
"exec": 0o100,
|
||||
"data": [
|
||||
0o505040111111, // HRLI 1,111111
|
||||
0o541040444444, // HRRI 1,444444
|
||||
0o544100000001, // HLR 2,1
|
||||
0o504100000001, // HRL 2,1
|
||||
0o505040111111, // HRLI 1,111111
|
||||
0o541040444444, // HRRI 1,444444
|
||||
0o544100000001, // HLR 2,1
|
||||
0o504100000001, // HRL 2,1
|
||||
0o570140000001, // HRRE 3,1
|
||||
0o530200000002, // HLLE 4,2
|
||||
0o544240000003, // HLR 5,3
|
||||
0o504300000004, // HRL 6,4
|
||||
0o573000000005, // HRRES 0,5
|
||||
0o533000000006, // HLLES 0,6
|
||||
]
|
||||
}
|
||||
|
|
|
|||
13
apps/pdp10/tests/optest-v01.simh
Normal file
13
apps/pdp10/tests/optest-v01.simh
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
dep 100 505040111111
|
||||
dep 101 541040444444
|
||||
dep 102 544100000001
|
||||
dep 103 504100000001
|
||||
dep 104 570140000001
|
||||
dep 105 530200000002
|
||||
dep 106 544240000003
|
||||
dep 107 504300000004
|
||||
dep 110 573000000005
|
||||
dep 111 533000000006
|
||||
ex -m 100-111
|
||||
dep pc 100
|
||||
step 10
|
||||
Loading…
Reference in a new issue