59
CHAPTER 3 CPU AND CONTROL UNITS
■
Processing of INT Instruction
INT #u8
This instruction causes a branch to the interrupt handler of the vector indicated by u8.
[Processing]
1. SSP - 4
→
SSP
2. PS
→
(SSP)
3. SSP - 4
→
SSP
4. PC + 2
→
(SSP)
5. "0"
→
I-flag
6. "0"
→
S-flag
7. (TBR + 3FC
Η
- 4 × u8)
→
PC
■
Processing of INTE Instruction
INTE
This instruction causes a branch to the interrupt handler of the vector with vector No. #9.
[Processing]
1. SSP - 4
→
SSP
2. PS
→
(SSP)
3. SSP - 4
→
SSP
4. PC + 2
→
(SSP)
5. "00100
B
"
→
ILM
6. "0"
→
S-flag
7. (TBR + 3D8
Η
)
→
PC
Do not use an INTE instruction in another INTE instruction or in a step trace trap service routine. The
INTE instruction does not generate an EIT during single stepping.
■
Processing of Step Trace Trap
If the T-flag in the SCR in the PS register is set to enable the step trace function, a trap occurs at the
execution of every instruction, causing a break.
[Step trace trap detection conditions]
• T-flag = 1
• The instruction is not a delayed branch instruction.
• During execution other than the INTE instruction and step trace trap service routine.
• If the above conditions are satisfied, a break is inserted between the executions of instructions.
[Processing]
1. SSP - 4
→
SSP
2. PS
→
(SSP)
3. SSP - 4
→
SSP
4. Next instruction's address
→
(SSP)
Summary of Contents for FR60Lite
Page 3: ......
Page 5: ......
Page 115: ...100 CHAPTER 3 CPU AND CONTROL UNITS ...
Page 127: ...112 CHAPTER 4 I O PORTS ...
Page 143: ...128 CHAPTER 5 INTERRUPT CONTROLLER ...
Page 155: ...140 CHAPTER 6 EXTERNAL INTERRUPT AND NMI CONTROLLER ...
Page 197: ...182 CHAPTER 9 PPG Programmable Pulse Generator ...
Page 337: ...322 CHAPTER 13 UART ...
Page 417: ...402 CHAPTER 16 DMAC DMA Controller ...
Page 445: ...430 CHAPTER 17 FLASH MEMORY ...
Page 451: ...436 CHAPTER 18 SERIAL PROGRAMMING CONNECTION ...
Page 493: ...478 APPENDIX F Precautions on Handling ...
Page 494: ...479 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Page 507: ...492 INDEX ...
Page 509: ......