
μ
PD17016, 17017
25
2.2 Program Memory
Figure 2-2 shows the configuration of the program memory.
As shown in this figure, the program memory is configured as follows:
μ
PD17016: 3836
×
16 bits (0000H through 0EFBH)
μ
PD17017: 7932
×
16 bits (0000H through 1EFBH)
All “instructions” are “1-word instructions” 16 bits long, so that one instruction can be stored in one address
of the program memory.
Constant data reads the contents of the program memory to the data buffer by using a table reference
instruction.
Figure 2-2. Configuration of Program Memory
Note
Valid in the address 0000H through 0EFBH.
Reset start address
Timer interrupt vector
INT
0
pin interrupt vector
(with PD17016)
(with PD17017)
16 bits
Page 0
CALL addr
instruction
subroutine
entry address
Page 1
Page 2
Page 3
BR addr instruction
branch address
BR @AR instruction
branch address
CALL @AR instruction
subroutine entry
address
MOVT DBF, @AR instruction
table reference address
Address
0 0 0 0 H
0 0 0 1 H
0 0 0 2 H
0 0 0 3 H
0 0 0 4 H
0 0 0 5 H
0 7 F F H
0EFBH
0FFFH
1 7 F F H
1EFBH
0 0 F F H
BR addr instruction
branch address
Note
BR @AR instruction
branch address
CALL @AR instruction
subroutine entry
address
MOVT DBF, @AR instruction
table reference address
(with PD17016)
(with PD17017)