| Electronic Components Datasheet Search |
|
R5F3640MNFB Datasheet(PDF) 137 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
R5F3640MNFB Datasheet(HTML) 137 Page - Renesas Technology Corp |
|
137 / 398 page ![]() REJ09B0392-0064 Rev.0.64 Oct 12, 2007 Page 116 of 373 Under development Preliminary Specification Specification in this preliminary version is subject to change. M16C/64 Group 12. Interrupt 12.9 Address Match Interrupt An address match interrupt is generated immediately before executing the instruction at the address indi- cated by the RMADi register (i = 0 to 3). Set the start address of any instruction in the RMADi register. Use bits AIER0 and AIER1 in the AIER register and bits AIER20 and AIER21 in the AIER2 register to enable or disable the interrupt. Note that the address match interrupt is unaffected by the I flag and IPL. When address match interrupt requests are acknowledged, the value of the PC that is saved to the stack area (refer to 12.5.7 “Saving Registers”) varies depending on the instruction at the address indicated by the RMADi register (The value of the PC that is saved to the stack area is not the correct return address.) Therefore, follow one of the methods described below to return from the address match interrupt. • Rewrite the content of the stack and then use the REIT instruction to return. • Restore the stack to its previous state before the interrupt request was accepted by using the POP or similar other instruction and then use a jump instruction to return. Table 12.7 shows the Value of the PC That Is Saved to the Stack Area When an Address Match Interrupt Request is Accepted. Note that when using the external bus in 8 bits width, no address match interrupts can be used for external areas. Figure 12.14 shows Registers AIER, AIER2, and RMAD0 to RMAD3. NOTE: Value of the PC that is saved to the stack area: Refer to 12.5.7 “Saving Registers”. Table 12.7 Value of the PC That Is Saved to the Stack Area When an Address Match Interrupt Request is Accepted Instruction at the Address Indicated by the RMADi Register Value of the PC that is saved to the stack area 16-bit op-code instruction Instruction shown below among 8-bit operation code instructions ADD.B:S #IMM8, dest SUB.B:S #IMM8, dest AND.B:S #IMM8, dest OR.B:S #IMM8, dest MOV.B:S #IMM8, dest STZ.B:S #IMM8, dest STNZ.B:S #IMM8, dest STZX.B:S #IMM81, #IMM82,dest CMP.B:S #IMM8, dest PUSHM src POPM dest JMPS #IMM8 JSRS #IMM8 MOV.B:S #IMM, dest (However, dest = A0 or A1) The address indicated by the RMADi register +2 Instructions other than the above The address indicated by the RMADi register +1 Table 12.8 Relationship between Address Match Interrupt Sources and Associated Registers Address Match Interrupt Sources Address Match Interrupt Enable Bit Address Match Interrupt Register Address Match Interrupt 0 AIER0 RMAD0 Address Match Interrupt 1 AIER1 RMAD1 Address Match Interrupt 2 AIER20 RMAD2 Address Match Interrupt 3 AIER21 RMAD3 |
|
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 |