diff --git a/apps/pdp10/tests/README.md b/apps/pdp10/tests/README.md index 77c1ec717..b11916dfd 100644 --- a/apps/pdp10/tests/README.md +++ b/apps/pdp10/tests/README.md @@ -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. diff --git a/apps/pdp10/tests/optest-v01.json b/apps/pdp10/tests/optest-v01.json index fa347e3a4..8bc0fc825 100644 --- a/apps/pdp10/tests/optest-v01.json +++ b/apps/pdp10/tests/optest-v01.json @@ -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 ] } diff --git a/apps/pdp10/tests/optest-v01.simh b/apps/pdp10/tests/optest-v01.simh new file mode 100644 index 000000000..361f2636e --- /dev/null +++ b/apps/pdp10/tests/optest-v01.simh @@ -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