Fujitsu FR81 Computer Hardware User Manual


 
CM71-00105-1E FUJITSU MICROELECTRONICS LIMITED 51
FR81 Family
CHAPTER 4 RESET AND "EIT" PROCESSING
4.4
3. The contents of the program counter (PC) of an exception source instruction are saved to the system
stack.
SSP - 4 SSP PC (SSP)
4. The program counter (PC) value is updated by referring to the vector table.
(TBR + 3E8
H
) PC
5. A new EIT event is detected.
4.4.5 Instruction Break
An instruction break generates an exception or a break based on address instructions given by the debug
support unit (DSU). Upon detection of the instruction break in the user state during debugging, a break
processing is carried out. Upon detection of the instruction break during normal operation, an exception
processing is carried out.
The following describes the brake processing being carried out when the instruction break is accepted in
the user state.
1. Transition to privilege mode is carried out, the stack flag (S) is cleared, 4 is set to the interrupt level
mask register (ILM), and then the mode is shifted to the debug state.
"0" UM "0" S"4" ILM
2. The contents of the program status (PS) are saved to the PS save register (PSSR).
PS PSSR
3. The contents of the program counter (PC) of an exception source instruction are saved to the PS save
register (PCSR).
PC PCSR
4. An instruction is fetched from the emulator debug instruction register (EIDR1), and the handler is
executed.
The following describes the exception processing being carried out when the instruction break is accepted
during normal operation.
1. Transition to privilege mode is carried out, the stack flag (S) is cleared, and 4 is set to the interrupt level
mask register (ILM).
"0" UM "0" S"4" ILM
2. The contents of the program status (PS) are saved to the system stack.
SSP - 4 SSP PS (SSP)
3. The contents of the program counter (PC) of an exception source instruction are saved to the system
stack.
SSP - 4 SSP PC (SSP)
4. The program counter (PC) value is updated by referring to the vector table.
(TBR + 3D4
H
) PC
5. A new EIT event is detected.