Epson S5U1C63000H6 Manual page 19

Cmos 4-bit single chip microcomputer (s1c63 family in-circuit emulator)
Table of Contents

Advertisement

(7) Register (data) break
The register (data) value after a break occurs may differ from the value set as a register (data) break condition.
The following shows an example if a break condition has been set so that a break will occur when the A register
is set to 5, and when the S1C63000 CPU has executed the sequence in the timing chart shown below to set the A
register to 5 and 6:
CLK
Instruction execution
A register
ICE data judgment point
The S5U1C63000H6 judges the register data at the points indicated with a "↑." It judges that the A register is
"5" at the point of <2>, and the register break condition is met at the same time. However, the S1C63000 CPU
is executing the following "ld %a, 6" instruction at this point and the break occurs after the A register is set to
"6." Therefore, "6" is read from the A register after the break has occurred. This is also applied to the break by
accessing to undefined area function.
(8) Register (data) break and hardware interrupt
If a hardware interrupt occurs when the register (data) break condition described in Item (7) is met, register (data)
break will occur at the top address of the interrupt handler routine. The following shows an example when a
hardware interrupt factor occurs while the S1C63000 CPU is executing the sequence in the timing chart shown
below to set the A register to 5 and 6, if a break condition has been set so that a register break will occur when
the A register is set to 5:
CLK
Instruction execution
A register
Interrupt factor
IACK
ICE data judgment point
Figure 5.13.3 Example When a Register Break and an Interrupt Occur Simultaneously
In the timing chart above, if an interrupt factor occurs (falling edge) at the point of <1>, the S1C63000 CPU
outputs the IACK signal to indicate that an interrupt acknowledgment cycle is executed. The interrupt process-
ing cannot be stopped while IACK is at low level. Therefore, the S5U1C63000H6 cannot disable the interrupt
even if the register break condition (A register = "5") is met at the point of <2>, as IACK is at low level. The
register break will occur after jumping to the interrupt vector address.
S5U1C63000H6 ManUal
(S1C63 Family In-Circuit Emulator)
5 OPERaTIOnS anD FUnCTIOnS OF THE S5U1C63000H6
ld %a, 5
<1>
Figure 5.13.2 Example of Register Break
ld %a, 5
<1>
EPSOn
ld %a, 6
ICE monitor command ICE monitor command
5
6
<2>
<3>
ld %a, 6
5
6
<2>
<3>
15

Advertisement

Table of Contents
loading

Table of Contents