English
Language : 

HMS87C1304A Datasheet, PDF (22/70 Pages) Hynix Semiconductor – CMOS SINGLE-CHIP 8-BIT MICROCONTROLLER
HMS87C1304A/HMS87C1302A
HYUNDAI MicroElectronics
8.3 Data Memory
Figure 8-7 shows the internal Data Memory space availa-
ble. Data Memory is divided into two groups, a user RAM
Address Symbol R/W
(including Stack) and control registers.
0C0H
RA
R/W
0000H
0C1H RAIO
W
0C2H
RB
R/W
USER
0C3H RBIO
W
MEMORY
(including STACK)
0C4H
0C5H
RC
R/W
RCIO
W
007FH
0080H
PAGE0
0C6H
0C7H
RD
R/W
RDIO
W
00BFH
00C0H
00FFH
CONTROL
REGISTERS
0CAH RAFUNC W
0CBH RBFUNC W
0CCH PUPSEL W
0D0H
TM0
R/W
0D1H
T0
R
0D1H TDR0
W
0D1H CDR0
R
Figure 8-7 Data Memory Map
User Memory
y The HMS87C1304A and HMS87C1302A has 128 × 8 bits
r for the user memory (RAM).
a Control Registers
in The control registers are used by the CPU and Peripheral
function blocks for controlling the desired operation of the
device. Therefore these registers contain control and status
lim bits for the interrupt system, the timer/ counters, analog to
digital converters and I/O ports. The control registers are in
address range of 0C0H to 0FFH.
re Note that unoccupied addresses may not be implemented
on the chip. Read accesses to these addresses will in gen-
P eral return random data, and write accesses will have an in-
0D2H
TM1
R/W
0D3H TDR1
W
0D3H T1PPR W
0D4H
T1
R
0D4H CDR1
R
0D4H T1PDR R/W
0D5H PWM0HR W
0DEH
BUR
W
0E2H
IENH
R/W
0E3H
IENL
R/W
0E4H IRQH R/W
0E5H
IRQL
R/W
0E6H
IEDS
R/W
0EAH ADCM R/W
0EBH ADCR
R
0ECH
BITR
R
0ECH CKCTLR W
determinate effect.
0EDH WDTR
R
More detailed informations of each register are explained
in each peripheral section.
0EDH WDTR
W
0EFH PFDR R/W
RESET
Value
Addressing
mode
Undefined
0000_0000
Undefined
0000_0000
Undefined
----_--00
Undefined
----_0000
0000_0000
0000_0000
----_--00
byte, bit1
byte2
byte, bit
byte
byte, bit
byte
byte, bit
byte
byte
byte
byte
--00_0000
0000_0000
1111_1111
0000_0000
0000_0000
1111_1111
1111_1111
0000_0000
0000_0000
0000_0000
----_0000
byte, bit
byte
byte
byte
byte, bit
byte
byte
byte
byte
byte, bit
byte
1111_1111 byte
0000_----
000-_----
0000_----
000-_----
----_0000
--00_0001
Undefined
0000_0000
-001_0111
0000_0000
0111_1111
----_-100
byte, bit
byte, bit
byte, bit
byte, bit
byte, bit
byte, bit
byte
byte
byte
byte
byte
byte, bit
Table 8-1 Control Registers
Note: Write only registers can not be accessed by bit ma-
nipulation instruction. Do not use read-modify-write
instruction. Use byte manipulation instruction.
1. “byte, bit” means that register can be addressed by not only bit
but byte manipulation instruction.
2. “byte” means that register can be addressed by only byte
manipulation instruction. On the other hand, do not use any
read-modify-write instruction such as bit manipulation for
clearing bit.
Example; To write at CKCTLR
LDM CKCTLR,#09H ;Divide ratio ÷16
22
Preliminary
Jan. 2001