English
Language : 

GMS30004 Datasheet, PDF (92/158 Pages) Hynix Semiconductor – 4-BIT SINGLE CHIP MICROCOMPUTERS
Chapter 5. Software
[e.g]
1) Example of setting port input I/O file and measure in case of file format error.
>SET PO 1 ã
>SET PI 2 ã
>SET ã
CPU GMS30140
ROM 1024 Byte
RAM 32 Nibble
I/O Input [pi]
= [2] Port Input file (PORT.DAT)
I/O Output [po]
= [1] Display
Symbol
[1]
= [0] Search
Watch Dog timer [wd] = [0] off
>G ã
RUN
******** `PORTIN.DAT` File format error ********
0001
07
DA
PC=0 PA=01 PB=00 A=0 X=0 Y=0 ST=1 PMR=0 WD=0000
MC=235
In this case, execute SET PI 0 or SET PI 1 and cancel the Mode.
Then you can execute the command again.
>SET PI 1 ã
>G ã
RUN
2) Example of setting watch dog timer
>SET WD 1 ã
>SET ã
CPU GMS30140
ROM 1024 Byte
I/O Input [pi]
= [0]
I/O Output [po]
= [0]
Symbol
[1]
= [0]
Watch Dog timer [wd] = [1]
>
RAM 32 Nibble
Port Input I/O register
No Display
Search
ON (no option)
5 - 38