Hitachi AP1 Data Book page 190

4-bit single-chip microcomputer
Table of Contents

Advertisement

L C O - I V - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
• Dftignation of ROM Address and ROM Code
The bank part of the ROM address is shown in the binary
system and the page part in the decimal system. The address
part is divided into 2 bits and 4 bits, and shown in the hexa-
decimal system.
It is possible to combine the bank part and the page part and
show the combined part as the Page (in the decimal system).
(a)
ROM
Address
(Example 1)
;---IPage Part)
~
Bank Part
In this case, the 0 Page to the 31 Page in the Bank 1 are shown
as the 32 Page to the 63 Page. The examples are shown in Figure
3.
One word (10 bits) of ROM is divided into three parts (2
bits, 4 bits and 4 bits from the most significant bit 0
10
in order)
shown in the hex a-decimal system. The examples are shown in
Figure 3.
"r-
Page Part - - - " ' " ' \ \ , - - Address Part ______
I I,:
° : ' : ° : °
I :
°
: ° : '
: '
: °
I
Bank' 20-26: Bank' 20 Page 26 Address
'--.J'----
Decimal
---I~ ~
Hexa.
----l
152-26: 52 Page 26 Address)
Binarv
He~a-
decimal
~---IDecimal)
_ _ _
--'I
decimal
(Example 2)
r--1Page Part!
\
Bank Part
r--\,-
Page Part
~
r - -
Addre .. Part
~
10 1 ° : 0 : 0 : ' : ° 10: 0 : ' : 0 : ' : °
~ ~Declmal----1L---J\\..--_:_:_---....J
Blnlrv
Hexa·
Hexl'
I
IDeclmal)
I
decimal
dlclmal
(b)
ROM
Code
(Example 1)
Bank ° 2-0A: Bank ° 2 Page OA Address
12-0A: 2 Plge OA Address)
L.1_o~:,--
...... _.....&._o ...... :
_...1:'--...... :_0 ...... : _ ...... : _0_: .....
,~1
ROM Pattern, Object Code: , B6
'- Hexa·
J'--
Hexa-decimal-.J'--- Hexl-decimal--1
decimal
(Example 2)
L.1_o~:,--o
...... _.....&._o ...... :
_...1:'--0 ...... :_0 ...... : _ ...... : _0_: .....
0~1
ROM Pattern, Objlct Code: OA4
'- Hexa- J'--Hexa-clecimal
-.J'--
Hexa-clecimal --1
decimal
Figure 3 Designation of
ROM
Address and
ROM
Code
188

Advertisement

Table of Contents
loading

Table of Contents