| Electronic Components Datasheet Search |
|
V850E/MA3 Datasheet(PDF) 18 Page - NEC |
|
|
|||||||||||||||||||||||||||||
V850E/MA3 Datasheet(HTML) 18 Page - NEC |
|
18 / 226 page ![]() CHAPTER 2 REGISTER SET User’s Manual U14559EJ3V1UM 18 2.2 System Registers The system registers control the CPU status and hold information on interrupts. System registers can be read or written by specifying the relevant system register number from the following list using a system register load/store instruction (LDSR or STSR instruction). Table 2-2. System Register Numbers Operand Specifiability Register No. Register Name LDSR Instruction STSR Instruction 0 Interrupt status saving register (EIPC) 1 Interrupt status saving register (EIPSW) 2 NMI status saving register (FEPC) 3 NMI status saving register (FEPSW) 4 Exception cause register (ECR) × 5 Program status word (PSW) 6 to 15 (Numbers reserved for future function expansion (operation cannot be guaranteed if accessed)) × × 16 CALLT caller status saving register (CTPC) 17 CALLT caller status saving register (CTPSW) 18 Exception/debug trap status saving register (DBPC) Note 1 19 Exception/debug trap status saving register (DBPSW) Note 1 20 CALLT base pointer (CTBP) 21 Debug interface register (DIR) Note 1 22 Breakpoint control registers 0 and 1 (BPC0, BPC1) Note 2 Note 1 Note 1 23 Program ID register (ASID) 24 Breakpoint address setting registers 0 and 1 (BPAV0, BPAV1) Note 2 Note 1 Note 1 25 Breakpoint address mask registers 0 and 1 (BPAM0, BPAM1) Note 2 Note 1 Note 1 26 Breakpoint data setting registers 0 and 1 (BPDV0, BPDV1) Note 2 Note 1 Note 1 27 Breakpoint data mask registers 0 and 1 (BPDM0, BPDM1) Note 2 Note 1 Note 1 28 to 31 (Numbers reserved for future function expansion (operation cannot be guaranteed if accessed)) × × Notes 1. These registers can be accessed only in the debug mode of type A and B products. Accessing these registers in other product types is prohibited. If they are accessed, the operation is not guaranteed. 2. The actual register to be accessed is specified by the DIR.CS bit. Caution When returning using the RETI instruction after setting bit 0 of EIPC, FEPC, or CTPC to 1 using the LDSR instruction and servicing an interrupt, the value of bit 0 is ignored (because bit 0 of the PC is fixed to 0). Therefore, be sure to set an even number (bit 0 = 0) when setting a value to EIPC, FEPC, or CTPC. Remark O: Accessible ×: Inaccessible |
|
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 |