Section 9.3: An Example of a CSC-1 Assembler Program (Frame 7)                     [prev][home][next]

To see the registers and other status information, use the s command:

>> s
COMPUTER HAS BEEN HALTED by the HLT instruction
Steps=4
a=        12   (        12) 0000000000001100
s=         0   (         0) 0000000000000000
pc=        4
Condition bits:  c=0  n=0  v=0  z=0

Since the HLT (halt) instructed was done recently, the first line says that the computer has been halted. To run the program again, use r to restart, or just quit by typing q and rerun the xeq program.