English
Language : 

GMS30004 Datasheet, PDF (91/158 Pages) Hynix Semiconductor – 4-BIT SINGLE CHIP MICROCOMPUTERS
Chapter 5. Software
Timing for setting port input register is :
a) When machine cycle of the file <current machine cycle after executing this
command, values shall be set on the port input register until the machine cycle
of the file> current machine cycle while executing the first G or T command.
b) When machine cycle of the file = current machine cycle, setting is made
immediately before the next command is executed.
In case there is a format error in I/O file while simulating, error message shall be
output and the operation is stopped.
In order to execute G or T command again, this mode has to be canceled first.
(Execute SET PI 0 or SET PI 1.)
Default value here is 0.
All the I/O READ commands are read from the port input register.
PORT.DAT format
Machine cycle I Port Name I Data ã
(I indicates space or tab)
• SET WD x ã
0 : Watch dog timer shall not be used.
1 : Watch dog timer shall be used. (No option)
Resetting watch dog timer
1) After executing WDTR command
2) After executing STOP command
3) After executing CR command
4) While converting to 0 with R command
5) When the set value is reached.
2 : Watch dog timer shall be used. (With option)
For resetting watch dog timer.
1) When SO command is executed to REMOUT output is added to the
above 1) ~ 5).
Defalut value here is 0.
5 - 37