Electronic Components Datasheet Search
  English  ▼

X  

UPD784021 Datasheet(PDF) 46 Page - NEC

Part # UPD784021
Description  16/8-BIT SINGLE-CHIP MICROCOMPUTER
PDF  90 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  NEC [NEC]
Direct Link  http://www.nec.com/
Logo NEC - NEC

UPD784021 Datasheet(HTML) 46 Page - NEC

Back Button UPD784021 Datasheet HTML 42Page - NEC UPD784021 Datasheet HTML 43Page - NEC UPD784021 Datasheet HTML 44Page - NEC UPD784021 Datasheet HTML 45Page - NEC UPD784021 Datasheet HTML 46Page - NEC UPD784021 Datasheet HTML 47Page - NEC UPD784021 Datasheet HTML 48Page - NEC UPD784021 Datasheet HTML 49Page - NEC UPD784021 Datasheet HTML 50Page - NEC Next Button
Zoom Inzoom in Zoom Outzoom out
 46 / 90 page
background image
46
m
m
m
m
mPD784020, 784021
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.
Fig. 9-1 Context Switching Caused by an Interrupt Request
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.
Fig. 9-2 Macro Service
PSW
PC19-16
0000B
PC15-0
Exchange
Save
Save
2
3
4
5
Save
1
6
7
Transfer
(Bits 8 to 11 of
temporary register)
Register bank n (n = 0-7)
Temporary register
AX
BC
R5
R4
R7
VP
UP
R6
DE
H
T
U
V
WL
Switching between register banks
(RBS0-RBS2
← n)
RSS
← 0
IE
← 0
Register bank (0-7)
CPU
SFR
Memory
Read
Write
Read
Write
Macro service
controller
Internal bus



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com