| Electronic Components Datasheet Search |
|
UPD784021 Datasheet(PDF) 46 Page - NEC |
|
|
|||||||||||||||||||||||||||||
UPD784021 Datasheet(HTML) 46 Page - NEC |
|
46 / 90 page ![]() 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 |
|
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 |
| 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 |