| Electronic Components Datasheet Search |
|
UPD78323LP Datasheet(PDF) 44 Page - NEC |
|
|
|||||||||||||||||||||||||||||
UPD78323LP Datasheet(HTML) 44 Page - NEC |
|
44 / 86 page ![]() 44 µPD78323, 78324 4.3 CONTEXT SWITCHING FUNCTION This is the function to first select the specified register bank in hardware terms by generating an interrupt request or executing BRKCS instruction, to branch the selected register bank to the vector address prestored in the register bank, and also to stack the current PC and PSW contents into the register bank. 4.3.1 Context Switching Function at Interrupt Request The context switching function start is enabled by setting the × ×CSE bit preset at each interrupt request to 1. If an unmasked interrupt request for which the context switching function has been enabled is generated in the EI state, the register bank which is specified by the lower 3 bits of the lower address (even address) of the corresponding interrupt vector table address is selected. The vector address prestored in the selected register bank is transferred to the PC, the PC and PSW contents are saved into the register bank, and the operation is branched to the interrupt processing routine. Return is by means of executing the RETCS instruction. Figure 4-3. Context Switching at Interrupt Request Register Banks (0 to 7) RBANK n PC PSW Exchange Save A B R5 R7 D H X C R4 R6 E L VP UP |
|
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 |