Chapter 5. Software
CR (CPU Reset)
[Function]
To set simulator to the initial state.
[Format]
CR
[Explanation]
When this command is executed, the simulator is set back to the initial state. In
this case, the registers are also initialized according to each CPU. However, MC
is cleared irregardless of the CPU status.
Initial State of each register.
PA, PC, PB, SP and D PORT become 0.
All the ports of R PORT become 1.
The other registers are undefined.
[e.g]
>CR
CPU
ROM
GMS30140
Byte
1024
RAM 32 Nibble
I/O Input [pi]
I/O Output [po]
SYMBOL
= [0] Port input I/O register
= [0] No Display
= [0] Search
[1]
Watch Dog Timer [wd]
= [0] off
PC=00 PA=00 PB=00 A=0 X=0 Y=0 ST=0 PMR=0 WD=0000 MC=0
SP=0 SR1=0000 SR2=0000 SR3=0000
I/O Reg. Rin=1111 Rout=1111 D=00000000 OUT=0 K=0000(0h)
>
5 - 23