English
Language : 

HD404019R Datasheet, PDF (47/65 Pages) Renesas Technology Corp – CMOS 4-bit single-chip microcomputers
HD404019R Series
ROM Addressing Modes and the P Instruction
The MCU has four kinds of ROM addressing modes as shown in figure 23.
[JMPL]
[BRL]
[CALL]
Instruction 1st word
Instruction 2nd word
Opcode
p3 p2 p1 p0 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0
Program counter PC13 PC12 PC11PC10 PC9 PC8 PC7 PC6 PC5 PC4 PC3 PC2 PC1 PC0
Direct Addressing
Instruction
[BR] Opcode b7 b6 b5 b4 b3 b2 b1 b0
Program counter PC13 PC12 PC11PC10 PC9 PC8 PC7 PC6 PC5 PC4 PC3 PC2 PC1 PC0
Current Page Addressing
Instruction
[CAL]
Opcode
a5 a4 a3 a2 a1 a0
00 000 0 00
Program counter PC13 PC12 PC11PC10 PC9 PC8 PC7 PC6 PC5 PC4 PC3 PC2 PC1 PC0
Zero Page Addressing
Instruction
[TBR]
Opcode
p3 p2 p1 p0
B register
Accumulator
00
B3 B2 B1 B0 A 3 A 2 A 1 A 0
Program counter PC13 PC12 PC11PC10 PC9 PC8 PC7 PC6 PC5 PC4 PC3 PC2 PC1 PC0
Table Data Addressing
Figure 23 ROM Addressing Modes
45