| Electronic Components Datasheet Search |
|
UPD17068 Datasheet(PDF) 32 Page - NEC |
|
|
|||||||||||||||||||||||||||||
UPD17068 Datasheet(HTML) 32 Page - NEC |
|
32 / 341 page ![]() 32 µPD17068 2.4.2 Subroutines (1) Direct subroutine call (“CALL addr”) A direct subroutine call instruction can call a subroutine starting at an address in page 0 in program memory. (2) Indirect subroutine call (“CALL @AR”) An indirect subroutine call instruction can call a subroutine starting at any address in program memory, 0000H to 2FFFH. See also Section 5.3. 2.4.3 Table Reference A table reference instruction (“MOVT DBF, @AR”) can reference all addresses in program memory, 0000H to 2FFFH. See also Sections 5.3 and 9.2.2. 2.4.4 System Call A system call instruction (SYSCAL entry) can call a subroutine starting at any of the first 16 addresses of a block (0 to 7) in page 0 of segment 1. Fig. 2-4 Program Counter Value for Each Instruction Program Counter Page 0 Page 1 Page 2 Page 3 00 01 10 11 SGR b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0 Value of program counter (PC) 00 00 1 entryH entryL 00 00 0 0 0 0 0 0 0 0 0 0000 0 0 BR addr CALL addr SYSCAL entry BR CALL MOVT DBF, @AR @AR @AR RET RETSK RETI Instruction Instruction operand (addr) Instruction operand (addr) When an interrupt is received At power-on reset or CE reset Hold Hold Contents of address register Return address: Contents of address stack register (ASR) specified with stack pointer (SP) Vector address for the interrupt Remark entryH : Three high-order bits of entry entryL : Four low-order bits of entry |
|
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 |