HD404818 Series
10
Memory Map
ROM Memory Map
The ROM is described in the following paragraphs with the ROM memory map in figure 1.
0
15
16
63
64
4095
4096
8191
8192
16383
0
1
2
3
4
5
6
7
8
9
$000F
$0010
$0FFF
$1000
$1FFF
$2000
$3FFF
$003F
$0040
Vector address
Zero-page subroutine
(64 words)
Pattern
(4096 words)
Program
Not used
10
11
12
13
14
15
$0000
$0000
$0001
$0002
$0003
$0004
$0005
$0006
$0007
$0008
$0009
$000A
$000B
$000C
$000D
$000E
$000F
JMPL instruction
(jump to reset routine)
JMPL instruction
(jump to
INT
routine)
0
JMPL instruction
(jump to timer A routine)
1
JMPL instruction
(jump to timer B routine)
JMPL instruction
(jump to timer C routine)
JMPL instruction
(jump to serial routine)
JMPL instruction
(jump to
INT
routine)
*
HD404812, HD40L4812: 2048 words
HD404814, HD40L4814: 4096 words
HD404816, HD40L4816: 6144 words
HD404818, HD40L4818,
HD4074818, HD407L4818: 8192 words
*
Note:
Figure 1 ROM Memory Map
Vector Address Area ($0000 to $000F):
Locations $0000 through $000F are reserved for JMPL
instructions to branch to the starting address of the initialization program and of the interrupt programs.
After reset or an interrupt routine, the program is executed from the vector address.
Zero-Page Subroutine Area ($0000 to $003F):
Locations $0000 through $003F are reserved for
subroutines. The program sequence branches to subroutines by the CAL instruction.
Pattern Area ($0000 to $0FFF):
Locations $0000 through $0FFF are reserved for ROM data. The P
instruction allows the MCU to reference ROM data as a pattern.
Program Area ($0000 to $07FF: HD404812, HD40L4812; $0000 to $0FFF: HD404814, HD40L4814;
$0000 to $17FF: HD404816, HD40L4816; $0000 to $1FFF: HD404818, HD40L4818, HD4074818,
HD407L4818):
Used for program coding.