UPD784026 Renesas Electronics Corporation., UPD784026 Datasheet - Page 553

no-image

UPD784026

Manufacturer Part Number
UPD784026
Description
16/8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
20.5 OPERAND ERROR INTERRUPT ACKNOWLEDGMENT OPERATION
of an MOV STBC, #byte instruction or LOCATION instruction or an MOV WDM, #byte instruction does not match the 4th
byte of the operand. Operand error interrupts cannot be disabled.
that caused the error are saved to the stack, the IE flag is cleared (0), the vector table value is loaded into the program
counter (PC), and a branch is performed (within the base area only).
RETB instruction at the end of the operand error interrupt service program will result in generation of another operand error
interrupt. You should therefore either process the address in the stack or inifialize the program by referring to 20.12
RESTORING INTERRUPT FUNCTION TO INITIAL STATE.
An operand error interrupt is generated when the data obtained by inverting all the bits of the 3rd byte of the operand
When an operand error interrupt is generated, the program status word (PSW) and the start address of the instruction
As the address saved to the stack is the start address of the instruction in which the error occurred, simply writing an
2 Restoration
Figure 20-8 Return from BRKCS Instruction Software Interrupt (RETCSB Instruction Operation)
PC
4 Restoration
(To Original
Register Bank)
19-16
1 Restoration
PC
PSW
15-0
CHAPTER 20 INTERRUPT FUNCTIONS
W
V
U
T
Register Bank n (n = 0 to 7)
R5
R7
A
B
D
H
VP
UP
R4
R6
X
C
E
L
3 Transfer
RETCSB Instruction Operand
513

Related parts for UPD784026