參數(shù)資料
型號(hào): mPD784037
廠商: NEC Corp.
英文描述: 16/8-BIT SINGLE-CHIP MICROCONTROLLER
中文描述: 16/8-BIT單片機(jī)
文件頁數(shù): 44/90頁
文件大?。?/td> 377K
代理商: MPD784037
μ
PD784031
44
9.3 Context Switching
When an interrupt request is generated, or when the BRKCS instruction is executed, an appropriate register bank
is selected by the hardware. Then, a branch to a vector address stored in that register bank occurs. At the same
time, the contents of the current program counter (PC) and program status word (PSW) are stacked in the register
bank.
The branch address must be within the range of 0 to FFFFH.
Figure 9-1. Context Switching Caused by an Interrupt Request
PSW
PC19-16
0000B
PC15-0
<6>
Exchange
<5>
Save
<2>
Save
<1>
Save
<7>
Transfer
(Bits 8 to 11 of
temporary register)
Register bank n (n = 0-7)
Temporary register
A
X
B
C
R5
R4
R7
VP
UP
R6
D
E
H
T
U
V
W
L
Switching between register banks
(RBS0-RBS2
n)
RSS
0
IE
0
Register bank (0-7)
<4>
<3>
9.4 Macro Service
The macro service function enables data transfer between memory and special function registers (SFRs) without
requiring the intervention of the CPU. The macro service controller accesses both memory and SFRs within the same
transfer cycle to directly transfer data without having to perform data fetch.
Since the CPU status is neither saved nor restored, nor is data fetch performed, high-speed data transfer is
possible.
Figure 9-2. Macro Service
CPU
SFR
Memory
Read
Write
Read
Write
Macro service
controller
Internal bus
相關(guān)PDF資料
PDF描述
mPD784031 16/8-BIT SINGLE-CHIP MICROCONTROLLER
mPD784035 16/8-BIT SINGLE-CHIP MICROCONTROLLER
mPD784036 16/8-BIT SINGLE-CHIP MICROCONTROLLER
mPD784038 16/8-BIT SINGLE-CHIP MICROCONTROLLER
mPD789104A 8-Bit Single-Chip Microcontrollers
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MPD784038 制造商:NEC 制造商全稱:NEC 功能描述:16/8-BIT SINGLE-CHIP MICROCONTROLLER
MPD789026 制造商:NEC 制造商全稱:NEC 功能描述:8-Bit Single-Chip Microcontrollers
MPD789046 制造商:NEC 制造商全稱:NEC 功能描述:8-Bit Single-Chip Microcontrollers
MPD789074 制造商:NEC 制造商全稱:NEC 功能描述:8-Bit Single-Chip Microcontrollers
MPD789134A 制造商:NEC 制造商全稱:NEC 功能描述:8-Bit Single-Chip Microcontrollers