| Electronic Components Datasheet Search |
|
17017 Datasheet(PDF) 43 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
17017 Datasheet(HTML) 43 Page - Renesas Technology Corp |
|
43 / 326 page ![]() µPD17016, 17017 41 5.3.2 Function of address register The address register specifies a program memory address when a table reference (“MOVT DBF, @AR”), stack manipulation (“PUSH AR”, “POP AR”), indirect branch (“BR @AR”) or indirect subroutine call (“CALL @AR”) instruction is executed. A dedicated instruction (“INC AR”) that can increment the value of the address register by one is also available. The following paragraphs (1) through (5) explain the operations to be performed when the respective instructions are executed. The address register can set the following range of the program memory addresses. µPD17016 : 0000H through 00FFH µPD17017 : 0000H through 1EFBH Do not set an address other than above to the address register. (1) Table reference instruction (“MOVT DBF, @AR”) This instruction reads the constant data (16-bit) of the program memory address specified by the contents of the address register to the data buffer. (2) Stack manipulation instructions (“PUSH AR”, “POP AR”) When the “PUSH AR” instruction is executed, the value of the stack pointer is decremented by one, and the contents of the address register (AR) are stored to the address stack register specified by this value of the stack pointer. When the “POP AR” instruction is executed, the contents of the address stack register specified by the stack pointer are transferred to the address register, and the value of the stack pointer are incremented by one. (3) Indirect branch instruction (“BR @AR”) This instruction branches execution to the program memory address specified by the contents of the address register. (4) Indirect subroutine call instruction (“CALL @AR”) This instruction calls the subroutine at the program memory address specified by the contents of the address register. (5) Address register increment instruction (“INC AR”) This instruction increments the contents of the address register by one. (a) With µPD17016 Because the address register of the µPD17016 consists of 8 bits, its contents are cleared to “0000H” if the “INC AR” instruction is executed when the contents of the address register are “00FFH”. (b) With µPD17017 Because the address register of the µPD17017 consists of 13 bits, its contents are cleared to “0000H” if the “INC AR” instruction is executed when the contents of the address register are “1FFFH”. 5.3.3 Address register and data buffer The address register can transfer data via the data buffer as part of the peripheral hardware. For details, refer to 9. DATA BUFFER (DBF). |
|
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 |