UPI-41A/41AH/42/42AH USER’S MANUAL
ALPHABETIC LISTING
ADD A,Rr
Add Register Contents to Accumulator
Opcode:
0 1 1 0
1 r
2
r
1
r
0
The contents of register ‘r’ are added to the accumulator. Carry is affected.
(A)
w
(A)
a
(Rr)
r
e
0 – 7
Example:
ADDREG: ADD A,R6
;ADD REG 6 CONTENTS
;TO ACC
ADD A,
@
Rr
Add Data Memory Contents to Accumulator
Opcode:
0 1 1 0
0 0 0 r
The contents of the standard data memory location address by register ‘r’ bits 0 – 7 are added
to the accumulator. Carry is affected.
(A)
w
(A)
a
((Rr))
r
e
0 – 1
Example:
ADDM: MOV RO,
Ý
47
;MOVE 47 DECIMAL TO REG 0
ADD A,
@
RO
;ADD VALUE OF LOCATION
;47 TO ACC
ADD A,
Ý
data
Add Immediate Data to Accumulator
Opcode:
0 0 0 0
0 0 1 1
#
d
7
d
6
d
5
d
4
d
3
d
2
d
1
d
0
This is a 2-cycle instruction. The specified data is added to the accumulator. Carry is affected.
(A)
w
(A)
a
data
Example:
ADDID: ADD A,
Ý
ADDER
;ADD VALUE OF SYMBOL
;ADDER’ TO ACC
ADDC A,Rr
Add Carry and Register Contents to Accumulator
Opcode:
0 1 1 1
1 r
2
r
1
r
0
The content of the carry bit is added to accumulator location 0. The contents of register ‘r’ are
then added to the accumulator. Carry is affected.
(A)
w
(A)
a
(Rr)
a
(C)
r
e
0 – 7
Example:
ADDRGC: ADDC A,R4
;ADD CARRY AND REG 4
;CONTENTS TO ACC
30
Содержание UPI- 41A
Страница 1: ...October 1993 Microprocessor Peripherals UPI 41A 41AH 42 42AH User s Manual Order Number 231318 006 ...
Страница 4: ......
Страница 12: ...UPI 41A 41AH 42 42AH USER S MANUAL 231318 7 Figure 2 2 Pin Configuration 231318 8 Figure 2 3 Logic Symbol 8 ...
Страница 65: ...UPI 41A 41AH 42 42AH USER S MANUAL 231318 42 Figure 5 11 Distributed Processor System 61 ...