Inte (Software Interrupt For Emulator) - Fujitsu FR Family Instruction Manual

32-bit microcontroller
Hide thumbs Also See for FR Family:
Table of Contents

Advertisement

7.92

INTE (Software Interrupt for Emulator)

This software interrupt instruction is used for debugging. Store the values of the
program counter (PC) and program status (PS) to the stack indicated by the system
stack pointer (SSP) for interrupt processing. Write "0" to the "S" flag in the condition
code register (CCR), to use the "SSP" as the stack pointer for the following steps.
Determine the branch destination address by reading interrupt vector number "#9" from
the vector table, then branch.
There is no change to the "I" flag in the condition code register (CCR).
The interrupt level mask register (ILM) in the program status (PS) is set to level 4.
This instruction is the software interrupt instruction for debugging.
In step execution, no "EIT" events are generated by the "INTE" instruction.
This instruction has no delay slot.
■ INTE (Software Interrupt for Emulator)
Assembler format:
INTE
Operation:
SSP – 4 → SSP
PS → (SSP)
SSP – 4 → SSP
PC + 2 → (SSP)
4 → ILM
"0" → S flag
(TBR + 3D8
Flag change:
I, N, Z, V, and C: Unchanged
S:
Execution cycles: 3 + 3a cycles
Instruction format:
) → PC
H
S
I
N
Z
0
Cleared to "0".
MSB
1
0
0
1
CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS
V
C
1
1
1
1
0
0
LSB
1
1
0
0
0
0
189

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fr series

Table of Contents