
HTG2190
Rev. 1.00
19
June 29, 2001
SSL3
SSL2
SSL1
SSL0
Description
x
0
0
0
The Pad of common 0 is connected to common 0 signal and the
Pad of common 1 is connected to common 1 signal and so on.
x
0
0
1
The Pad of common 0 is connected to common 1 signal and the
Pad of common 1 is connected to common 2 signal and so on.
x
0
1
0
The Pad of common 0 is connected to common 2 signal and the
Pad of common 1 is connected to common 3 signal and so on.
x
0
1
1
The Pad of common 0 is connected to common 3 signal and the
Pad of common 1 is connected to common 4 signal and so on.
x
1
0
0
The Pad of common 0 is connected to common 4 signal and the
Pad of common 1 is connected to common 5 signal and so on.
x
1
0
1
The Pad of common 0 is connected to common 5 signal and the
Pad of common 1 is connected to common 6 signal and so on.
x
1
1
0
The Pad of common 0 is connected to common 6 signal and the
Pad of common 1 is connected to common 7 signal and so on.
x
1
1
1
The Pad of common 0 is connected to common 7 signal and the
Pad of common 1 is connected to common 0 signal and so on.
COMR register
Indirect addressing register
Locations 00H and 02H are indirect addressing
registers that are not physically implemented.
Any read/write operation of [00H] and [02H] ac-
cess data memory pointed to by MP0 (01H) and
MP1 (03H) respectively. Reading location 00H
or 02H indirectly returns the result 00H, while
writing to it indirectly results in no operation.
The data movement function between two indi-
rect addressing registers is not supported. The
memory pointer registers MP0 and MP1, are
8-bit registers used to access the data memory
by combining corresponding indirect address-
ing registers, Bank1~Bank11, Bank14 and
Bank15 can use MP1 only.
Accumulator
The accumulator closely relates to ALU opera-
tions. It is also mapped to location 05H of the
data memory and is the one which can operate
with immediate data. The data movement be-
tween two data memory must pass through the
accumulator.
Arithmetic and logic unit
ALU
This circuit performs 8-bit arithmetic and logic
operation. 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 op-
eration but can also change the status register.