UPI-41A/41AH/42/42AH USER’S MANUAL
CLR F0
Clear Flag 0
Opcode:
1 0 0 0
0 1 0 1
F
0
flag is cleared to zero.
(F
0
)
w
0
CPL A
Complement Accumulator
Opcode:
0 0 1 1
0 1 1 1
The contents of the accumulator are complemented. This is strictly a one’s complement. Each
one is changed to zero and vice-versa.
(A)
w
NOT (A)
Example:
Assume accumulator contains 01101010.
CPLA: CPL A
;ACC CONTENTS ARE COMPLE-
;MENTED TO 10010101
CPL C
Complement Carry Bit
Opcode:
1 0 1 0
0 1 1 1
The setting of the carry bit is complemented; one is changed to zero, and zero is changed to
one.
(C)
w
NOT (C)
Example:
Set C to one; current setting is unknown.
CT01: CLR C
;C IS CLEARED TO ZERO
CPL C
;C IS SET TO ONE
CPL F0 COMPLEMENT FLAG 0
Opcode:
1 0 0 1
0 1 0 1
The setting of Flag 0 is complemented; one is changed to zero, and zero is changed to one.
F
0
w
NOT (F0)
CPL F1
Complement Flag 1
Opcode:
1 0 1 1
0 1 0 1
The setting of the F
1
Flag is complemented; one is changed to zero, and zero is changed to
one.
(F
1
)
w
NOT (F
1
)
34
Содержание 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 ...