Some (shorter!) sample PC-231 programs for testing your simulator ----------------------------------------------------------------- HALT tests: these should print nothing, i.e., they should halt before printing 000 D00 0AA D00 ZERO tests: these should both print out 0 205 100 D00 205 105 D00 SET tests: the first should print out 5, the second A5 (corrected by APril) 205 D00 3A0 2E5 DE1 DATA tests: these should both print 5 306 9E1 AE1 305 DE0 000 AAA 305 AEE 305 DE0 000 BBB INC tests: these should all print 5 204 400 D00 206 408 D00 20D 40F D00 SHIFT tests: these should all print 5 20A 500 D00 201 509 400 D00 35F 5E3 DE0 ADD tests: the first 2 should print 8, then A96 and 2046 204 214 601 D10 204 600 D00 20A 901 50B 610 50B 610 D01 306 9E0 AE0 6EE DE0 000 7FF SUB tests: these should print 4, 0 and -10 204 218 701 D10 204 700 D00 21A 710 D00 AND tests: the first one should print AAA,000 209 A20 21A A31 823 D31 824 D41 000 AAA FFF COPY tests: the first two should each print 7, the third one prints 4 207 901 D10 237 933 D30 306 9E1 AE1 9FE DE0 000 AAA LOAD and STORE test: this one should write out AAA 309 9E1 AE1 9E2 30A B2E A3E D31 000 AAA WRITE test: should produce 2046 (second version by Reed) 306 9E0 AE0 6EE DE0 000 7FF 306 9E0 AE0 6EE DE0 000 3FF JPIF tests: first one should write 6, not 5; second one 5, not 6 306 9EA 205 E04 D00 000 DE0 000 306 9EA 205 E08 D00 000 DE0 000 JUMP test: should write 0 and not 7 207 F03 D00 D10