66
CHAPTER 2 CPU
■
Operation for Step-trace-trap
After the T flag in the PS SCR is set to enable the step-trace function, a trap occurs every time
an instruction is executed, resulting in a break.
A step-trace-trap is detected under the following conditions:
•
T flag = 1
•
Instruction other than a delayed branch instruction
•
During execution of something other than the INTE instruction or step-trace-trap processing
routine
If the above conditions are met, a break occurs at the end of the current instruction operation.
[Operation]
SSP - 4 --> SSP
PS --> (SSP)
SSP - 4 --> SSP
Next instruction address --> (SSP)
"00100" --> ILM
"0" --> S flag
(TBR + 3CC
H
) --> PC
After the T flag in the PS SCR is set to enable the step-trace function, user NMIs and user
interrupts are inhibited. No INTE EIT occurs, either.
■
Operation for Undefined-instruction Exception
If an instruction is found undefined during instruction decoding, an undefined-instruction
exception occurs.
An undefined-instruction exception occurs under the following conditions:
•
The instruction is found undefined during instruction decoding.
•
The instruction is provided at a location other than a delay slot (not immediately after a
delayed branch instruction).
If the above conditions are met, an undefined-instruction exception occurs and results in a
break.
[Operation]
SSP - 4 --> SSP
PS --> (SSP)
SSP - 4 --> SSP
PC --> (SSP)
"0" --> S flag
(TBR + 3C4
H
) --> PC
The address of the instruction that detected the undefined-instruction exception is saved to the
PC.
Summary of Contents for MB91F109
Page 2: ......
Page 3: ...FUJITSU LIMITED FR30 32 Bit Microcontroller MB91F109 Hardware Manual ...
Page 4: ......
Page 10: ...vi ...
Page 24: ...xx ...
Page 96: ...72 CHAPTER 2 CPU ...
Page 224: ...200 CHAPTER 4 BUS INTERFACE ...
Page 234: ...210 CHAPTER 5 I O PORTS ...
Page 268: ...244 CHAPTER 9 U TIMER ...
Page 290: ...266 CHAPTER 10 UART ...
Page 314: ...290 CHAPTER 12 16 BIT RELOAD TIMER ...
Page 322: ...298 CHAPTER 13 BIT SEARCH MODULE ...
Page 392: ...368 CHAPTER 16 FLASH MEMORY ...
Page 432: ...408 APPENDIX E Instructions F Table E 2 Instruction Formats OP rel11 5 11 ...
Page 448: ...424 APPENDIX E Instructions ...
Page 449: ...425 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Page 458: ...434 INDEX ...
Page 460: ......
Page 461: ...FUJITSU SEMICONDUCTOR FR30 32 Bit Microcontroller MB91F109 Hardware Manual ...