| Electronic Components Datasheet Search |
|
UPD17072 Datasheet(PDF) 22 Page - NEC |
|
|
|||||||||||||||||||||||||||||
UPD17072 Datasheet(HTML) 22 Page - NEC |
|
22 / 226 page ![]() µPD17072,17073 22 2.4 Execution Flow of Program Memory Execution of the program is controlled by the program counter which specifies an address of the program memory. Figure 2-4 shows the values to be set to the program counter when each instruction is executed. Table 2-1 shows the vector addresses that are to be set to the program counter when each interrupt occurs. Figure 2-4. Specification by Program Counter On Execution of Each Instruction Table 2-1. Interrupt Vector Address Priority Internal/external Interrupt source Vector address 1 External INT pin 0003H 2 External Basic timer 1 0002H 3 External Serial interface 0001H 2.5 Notes on Using Program Memory (1) µPD17072 The program memory addresses of the µPD17072 are 0000H through 0BFFH. However, because the addresses that can be specified by the program counter (PC) are 0000H through 0FFFH, keep the following points in mind when specifying a program memory address: • Be sure to write a branch instruction to address 0BFFH, when writing an instruction to this address. • Do not write an instruction to addresses 0C00H through 0FFFH. • Do not branch to addresses 0C00H through 0FFFH. (2) With µPD17073 The program memory addresses of the µPD17073 are 0000H through 0FFFH. Keep the following point in mind: • Be sure to write a branch instruction to address 0FFFH, when writing an instruction to this address. Program counter Instruction BR addr CALL addr BR @AR CALL @AR MOVT DBF, @AR RET RETSK RETI Power-ON reset, CE reset Page 0 Page 1 0 1 Instruction operand (addr) b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0 Contents of program counter (PC) Vector address of each interrupt 0000 00000000 Instruction operand (addr) Contents of address register Contents of address stack register (ASR) specified by stack pointer (SP) (Return address) When interrupt is accepted 0 |
|
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 |