| Electronic Components Datasheet Search |
|
7702 Datasheet(PDF) 79 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
7702 Datasheet(HTML) 79 Page - Renesas Technology Corp |
|
79 / 217 page ![]() 7702/7703 Group User’s Manual INTERRUPTS 4–17 4.7.2 Storing registers The register storing operation performed during INTACK sequence depends on whether the contents of the stack pointer (S) at accepting interrupt request are even or odd. When the contents of the stack pointer (S) are even, the contents of the program counter (PC) and the processor status register (PS) are stored as a 16-bit unit simultaneously at each other. When the contents of the stack pointer (S) are odd, they are stored with twice by an 8-bit unit for each. Figure 4.7.3 shows the register storing operation. In the INTACK sequence, only the contents of the program bank register (PG), program counter (PC), and processor status register (PS) are stored to the stack area. The other necessary registers must be stored by software at the beginning of the interrupt routine. Using the PSH instruction can store all CPU registers except the stack pointer (S). 4.7 Sequence from acceptance of interrupt request to execution of interrupt routine Fig. 4.7.3 Register storing operation Storing is completed with 3 times. Stores 16 bits at a time. Stores 16 bits at a time. (1) Content of stack pointer (S) is even Low-order byte of processor status register (PSL) Program bank register (PG) Address [S] – 4 (even) [S] – 3 (odd) [S] – 2 (even) [S] – 1 (odd) [S] (even) Storing order [S] – 5 (odd) Address [S] – 4 (odd) [S] – 3 (even) [S] – 2 (odd) [S] – 1 (even) [S] (odd) Stores by each 8 bits. Storing order Storing is completed with 5 times. [S] – 5 (even) High-order byte of processor status register (PSH) Low-order byte of program counter (PCL) High-order byte of program counter (PCH) (2) Content of stack pointer (S) is odd Low-order byte of processor status register (PSL) Program bank register (PG) High-order byte of processor status register (PSH) Low-order byte of program counter (PCL) High-order byte of program counter (PCH) [S] is an initial value that the stack pointer (S) indicates at accepting an interrupt request. The S’s contents become [S] – 5 after storing the above registers. V |
|
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 |