English
Language : 

HD404318 Datasheet, PDF (10/68 Pages) Hitachi Semiconductor – 4-bit HMCS400-series microcomputer
HD404318 Series
Memory Map
ROM Memory Map
Vector Address Area ($0000–$000F): Reserved for JMPL instructions that branch to the start addresses
of the reset and interrupt routines.
Zero-Page Subroutine Area ($0000–$003F): Reserved for subroutines. The program branches to a
subroutine in this area in response to the CAL instruction.
Pattern Area ($0000–$0FFF): Contains ROM data that can be referenced with the P instruction.
Program Area ($0000–$0FFF (HD404314), $0000–$17FF (HD404316), $0000–$1FFF (HD404318,
HD4074318)): The entire ROM area can be used for program coding.
$0000
$000F
$0010
$003F
$0040
$0FFF
$1000
$17FF
$1800
$1FFF
Vector address
(16 words)
Zero-page subroutine
(64 words)
Pattern
(4,096 words)
HD404314
Program
(4,096 words)
HD404316
Program
(6,144 words)
HD404318, HD4074318
Program
(8,192 words)
$0000
JMPL instruction
$0001 (jump to RESET, STOPC routine)
$0002
$0003
JMPL instruction
(jump to INT 0 routine)
$0004
$0005
JMPL instruction
(jump to INT 1 routine)
$0006
$0007
JMPL instruction
(jump to timer A routine)
$0008
$0009
JMPL instruction
(jump to timer B routine)
$000A
$000B
JMPL instruction
(jump to timer C routine)
$000C
JMPL instruction
$000D (jump to A/D converter routine)
$000E
$000F
JMPL instruction
(jump to serial routine)
Note: Since the ROM address areas between $0000-$0FFF overlap, the user can determine how these areas
are to be used.
Figure 1 ROM Memory Map
8