English
Language : 

NSC800 Datasheet, PDF (39/76 Pages) National Semiconductor (TI) – NSC800TM High-Performance Low-Power CMOS Microprocessor
12 6 8-Bit Arithmetic (Continued)
76543210
11001110
n
Timing
Addressing Mode
M cycles 2
T states 7 (4 3)
Source Immediate
Destination Implied
SUB n
Subtract the immediate data n from the Accumulator
AwAbn
S Set if result is negative
Z Set if result is zero
H Set if borrow from bit 4
P V Set if result exceeds 8-bit 2’s
complement range
N Set
C Set according to borrow
condition
76543210
11010110
n
Timing
Addressing Mode
M cycles 2
T states 7 (4 3)
Source Immediate
Destination Implied
SBC A n
Subtract with carry the immediate data n from the Accumu-
lator
w A
A b n b CY S Set if result is negative
Z Set if result is zero
H Set if borrow from bit 4
P V Set if result exceeds 8-bit 2’s
complement range
N Set
C Set according to borrow
condition
76543210
11011110
n
Timing
Addressing Mode
M cycles 2
T states 7 (4 3)
Source Immediate
Destination Implied
AND n
The immediate data n is logically AND’ed to the Accumula-
tor
AwA n
S Set if result is negative
Z Set if result is zero
H Set
P V Set if result parity is even
N Reset
C Reset
76543210
11100110
n
Timing
Addressing Mode
M cycles 2
T states 7 (4 3)
Source Immediate
Destination Implied
OR n
The immediate data n is logically OR’ed to the contents of
the Accumulator
AwA s
S Set if result is negative
Z Set if result is zero
H Reset
P V Set if result parity is even
N Reset
C Reset
76543210
11110110
n
Timing
Addressing Mode
M cycles 2
T states 7 (4 3)
Source Immediate
Destination Implied
XOR n
The immediate data n is exclusively OR’ed with the Accu-
mulator
w A
AZn
S Set if result is negative
Z Set if result is zero
H Reset
P V Set if result parity is even
N Reset
C Reset
39