Skip to content

PiDP‐10 tests: program control

Lars Brinkhoff edited this page Mar 16, 2024 · 13 revisions

... Program control switches

Sample program:

d 1000 MOVEI 1,777
d 1001 ROT 1,1
d 1002 DATAO PI,1
d 1003 CONI 0,2
d 1004 TRNN 2,1000
d 1005 JRST 1003
d 1006 CONO 0,1000
d 1007 JRST 1001
d 1234 JRST 4,

Preparation

Put all switches in the up (off) position.
Start the emulator.
Enter the test program.

Starting

Enter 1000 in address switches.
Push START.
⟹ Program should start running.
⟹ RUN light should be on.

Stopping

With program running, push STOP.
⟹ Program should stop running.
⟹ RUN light should turn off.

Restarting

With start address still in address switches.
Push START.
⟹ Program should start from the beginning.
⟹ RUN light should be on.

Continue

Push STOP.
⟹ RUN light should turn off.
Push CONT.
⟹ Program should resume where it left off.
⟹ RUN light should turn on.

Single stepping

Push STOP.
⟹ RUN light should turn off.
Push SING INST.
Push CONT.
⟹ Program should execute one instruction.
⟹ RUN light should remain off.
Release SING INST.

Push CONT.
⟹ Program should resume where it left off.
⟹ RUN light should turn on. Push SING INST.
⟹ RUN light should turn off.
Push CONT.
⟹ Program should execute one instruction.
⟹ RUN light should remain off.

Stepping with repeat

With SING INST still in the down position.
Push REPT.
Hold down CONT.
⟹ Program should run slowly.
Release CONT.
⟹ Program should stop.
Release REPT.

Start with SING INST

With SING INST still in the down position.
Push START.
⟹ Program should execute one instruction at the beginning.
⟹ RUN light should remain off.

Execute

Put 254000001234 (JRST 1234) in data switches.
Push XCT.
⟹ PROGRAM COUNTER lights should show 1234.
⟹ RUN light should remain off.

Halt

Push CONT.
⟹ PROGRAM STOP should turn on.
⟹ RUN light should remain off.

Clone this wiki locally