R5F21133DFP RENESAS [Renesas Technology Corp], R5F21133DFP Datasheet - Page 59

no-image

R5F21133DFP

Manufacturer Part Number
R5F21133DFP
Description
16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY/R8C/Tiny SERIES
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
R5F21133DFP#U0
Manufacturer:
Renesas Electronics America
Quantity:
10 000
R8C/13 Group
Rev.1.20
REJ09B0111-0120
10.1.2 Software Interrupts
A software interrupt occurs when executing certain instructions. Software interrupts are non-
maskable interrupts.
• Undefined Instruction Interrupt
• Overflow Interrupt
• BRK Interrupt
• INT Instruction Interrupt
Jan 27, 2006
An undefined instruction interrupt occurs when executing the UND instruction.
An overflow interrupt occurs when executing the INTO instruction with the O flag set to “1” (the
operation resulted in an overflow). The following are instructions whose O flag changes by arith-
metic:
ABS, ADC, ADCF, ADD, CMP, DIV, DIVU, DIVX, NEG, RMPA, SBB, SHA, SUB
A BRK interrupt occurs when executing the BRK instruction.
An INT instruction interrupt occurs when executing the INT instruction. Software interrupt numbers 0
to 63 can be specified for the INT instruction. Because software interrupt Nos. 4 to 31 are assigned
to peripheral function interrupts, the same interrupt routine as for peripheral function interrupts can
be executed by executing the INT instruction.
In software interrupt numbers 0 to 31, the U flag is saved to the stack during instruction execution
and is cleared to “0” (ISP selected) before executing an interrupt sequence. The U flag is restored
from the stack when returning from the interrupt routine. In software interrupt numbers 32 to 63, the
U flag does not change state during instruction execution, and the SP then selected is used.
page 48 of 205
10.1 Interrupt Overview

Related parts for R5F21133DFP