Tandy 1000 HX Technical Reference Manual page 172

Table of Contents

Advertisement

Instruction Set
Mnemonic
Accumulator
ADD A, # data
ADD A, Rr
ADDA,@Rr
ADDC A, # data
ADDC A, Rr
ADDC A, @ Rr
ANLA, #data
ANLA, Rr
ANLA, @Rr
CPLA
CLRA
DA A
DEC A
INC A
ORL A, # data
ORLA, Rr
ORL A, @Rr
RLA
RLCA
RRA
Function
(A) ~ - (A) + data
(A) — (A)+(Rr)
r = 0-7
(A) — (A) + ((Rr))
r = 0-1
(A) — (A) + (C) + data
(A) —(A)+(C)+(Rr)
for r = 0-7
(A) — (A)+(C)+((Rr))
for r = 0-1
(A) — (A) AND data
(A)^(A)AND(Rr)
r = 0-7
(A) —(A)AND((Rr))
r = 0-1
(A) —NOT (A)
(A) — 0
(A) — (A) - 1
(A) — ( A ) + 1
(A) ~ - (A) O R data
(A) — (A) O R (Rr) for
r = 0-7
(A) —(A) O R ((Rr)) for
r = 0-1
(AN+1)~-(AN);N = 0-6
(Ao) — (A
7
)
(AN +1) — (AN); N = 0-6
(Ao) —(C)
(C) — (A
7
)
( A N ) ^ ( A N + 1 ) ; N = 0-6
(A
7
) —(Ao)
Description
Add immediate the specified data to the accumulator.
Add contents of designated register to the accumulator.
Add indirect the contents of the data memory location to the
accumulator.
Add immediate with carry the specified data to the
accumulator.
Add with carry the contents of the designated register to the
accumulator.
Add indirect with carry the contents of data memory location to
the accumulator.
Logical AND specified immediate data with accumulator.
Logical AND contents of designated register with accumulator.
Logical AND indirect the contents of data memory with
accumulator.
Complement the contents of the accumulator.
Clear the contents of the accumulator.
Decimal adjust the contents of the accumulator.
Decrement by 1 the accumulator's contents.
Increment by 1 the accumulator's contents.
Logical OR specified immediate data with accumulator.
Logical OR contents of designated register with accumulator.
Logical OR indirect the contents of data memory location with
accumulator.
Rotate accumulator left by 1 bit without carry.
Rotate accumulator left by 1 bit through carry.
Rotate accumulator right by 1 bit without carry.
D
7
0
d
7
0
0
0
d
7
0
0
0
d
7
0
0
0
0
0
0
0
0
d
7
0
0
1
1
0
D
6
0
d
6
1
1
0
de
1
1
1
de
1
1
0
0
1
0
0
1
de
1
1
1
1
1
Operation Code
D
S
0
d
5
1
1
0
d
5
1
1
0
d
5
0
0
1
1
0
0
0
0
d
5
0
0
1
1
1
D
4
0
d
4
0
0
1
d
4
1
1
1
d
4
1
1
1
0
1
0
1
0
d
4
0
0
0
1
1
D
3
0
d
3
1
0
0
d
3
1
0
0
d
3
1
0
0
0
0
0
0
0
d
3
1
0
0
0
0
D
2
0
d
2
r
0
0
d
2
r
0
0
d
2
r
0
1
1
1
1
1
0
d
2
r
0
1
1
1
Di
1
di
r
0
1
di
r
0
1
di
r
0
1
1
1
1
1
1
di
r
0
1
1
1
Do
1
do
r
r
1
do
r
r
1
do
r
r
1
1
1
1
1
1
do
r
r
1
1
1
Cycles
2
1
1
2
1
1
2
1
1
1
1
1
1
1
2
1
1
1
1
1
Bytes
2
1
1
2
1
1
2
1
1
1
1
1
1
1
2
1
1
1
1
1
c
Flags
AC
FO
F1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents