UPD78320GJ-5BJ NEC, UPD78320GJ-5BJ Datasheet - Page 46

no-image

UPD78320GJ-5BJ

Manufacturer Part Number
UPD78320GJ-5BJ
Description
16/8-BIT SINGLE-CHIP MICROCONTROLLER
Manufacturer
NEC
Datasheet
46
4.3.2
instruction. When BRKCS instruction is executed, the register bank specified by the 3-bit immediate data is selected, the
vector address prestored in the register bank is set and branched to the PC, and the PC and PSW contents are saved into
the register bank.
The context switching function can be started by executing BRKCS instruction.
The context switched register bank is specified by the lower 3-bit immediate data of the 2nd operation code of BRKCS
Return is by means of executing the RETCSB instruction.
Context Switching Function by BRKCS Instruction
(BRKCS)
PSW
PC
Figure 4-4. Context Switching by Execution of BRKCS Instruction
Exchange
Save
OP CODE
OP CODE
RBANK n
A
B
R5
R7
D
H
N
2
N
(n = 0 – 7)
1
VP
UP
N
0
000
111
X
C
R4
R6
E
L
Register Bank Specification
RBANK0
RBANK7
Register
Banks
(0 – 7)
PD78320, 78322

Related parts for UPD78320GJ-5BJ