DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

HT48CA6 Ver la hoja de datos (PDF) - Holtek Semiconductor

Número de pieza
componentes Descripción
Fabricante
HT48CA6
Holtek
Holtek Semiconductor Holtek
HT48CA6 Datasheet PDF : 31 Pages
1 2 3 4 5 6 7 8 9 10 Next Last
HT48CA6
0 0 H In d ir e c t A d d r e s s in g R e g is te r
01H
MP
02H
03H
04H
05H
ACC
06H
PCL
07H
TB LP
08H
TB LH
09H
0A H
STATU S
0B H
S p e c ia l P u r p o s e
0C H
D ATA M EM O R Y
0D H
0E H
0.H
10H
11H
12H
PA
13H
14H
PB
15H
16H
PC
17H
18H
19H
:U nused
1A H
R e a d a s "0 0 "
1B H
1C H
1D H
1E H
1.H
20H
G e n e ra l P u rp o s e
D ATA M EM O R Y
(3 2 B y te s )
3.H
RAM mapping
All data memory areas can handle arithmetic, logic, in-
crement, decrement and rotate operations directly. Ex-
cept for some dedicated bits, each bit in the data
memory can be set and reset by the SET [m].i and CLR
[m].i instructions, respectively. They are also indirectly
accessible through memory pointer register (MP;01H).
Indirect addressing register
Location 00H is an indirect addressing register that is
not physically implemented. Any read/write operation of
[00H] accesses data memory pointed to by MP (01H).
Reading location 00H itself indirectly will return the re-
sult 00H. Writing indirectly results in no operation.
The memory pointer register MP (01H) is a 6-bit regis-
ter. The bit 7~6 of MP is undefined and reading will re-
turn the result ²1². Any writing operation to MP will only
transfer the lower 6-bit data to MP.
Accumulator
The accumulator closely relates to ALU operations. It is
also mapped to location 05H of the data memory and is
capable of carrying out immediate data operations.
Data movement between two data memory locations
has to pass through the accumulator.
Arithmetic and logic unit - ALU
This circuit performs 8-bit arithmetic and logic opera-
tion. The ALU provides the following functions.
· Arithmetic operations (ADD, ADC, SUB,
SBC, DAA)
· Logic operations (AND, OR, XOR, CPL)
· Rotation (RL, RR, RLC, RRC)
· Increment and Decrement (INC, DEC)
· Branch decision (SZ, SNZ, SIZ, SDZ ....)
The ALU not only saves the results of a data operation but
also changes the contents of the status register.
Status register - STATUS
This 8-bit status register (0AH) contains the 0 flag (Z),
carry flag (C), auxiliary carry flag (AC), overflow flag (OV),
power down flag (PD) and watchdog time-out flag (TO). It
Labels
C
AC
Z
OV
PD
TO
¾
¾
Bits
Function
C is set if the operation results in a carry during an addition operation or if a borrow does not
0 take place during a subtraction operation; otherwise C is cleared. C is also affected by a rotate
through carry instruction.
1
AC is set if the operation results in a carry out of the low nibbles in addition or no borrow from
the high nibble into the low nibble in subtraction; otherwise AC is cleared.
2 Z is set if the result of an arithmetic or logic operation is 0; otherwise Z is cleared.
3
OV is set if the operation results in a carry into the highest-order bit but not a carry out of the
highest-order bit, or vice versa; otherwise OV is cleared.
4
PD is cleared when either a system power-up or executing the CLR WDT instruction. PD is set
by executing the HALT instruction.
5
TO is cleared by a system power-up or executing the CLR WDT or HALT instruction. TO is set
by a WDT time-out.
6 Unused bit, read as ²0²
7 Unused bit, read as ²0²
Status register
Rev. 1.10
6
July 26, 2002

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]