16 Rabbit 2000/3000 Microprocessor
Description
The data in the Accumulator is summed with the 8-bit constant n. The result is stored in the Accumulator.
Description
The data in the Accumulator is summed with the data in register r (any of the registers A, B, C, D, E, H, or L).
The result is stored in the Accumulator.
ADD A,n
Opcode Instruction Clocks Operation
C6 n ADD A,n 4 (2,2) A=A+n
Flags ALTD I/O
S Z L/V C F R SP S D
• • V • • •
ADD A,r
Opcode Instruction Clocks Operation
—— ADD A,r 2 A=A+r
87 ADD A,A 2 A=A+A
80 ADD A,B 2 A=A+B
81 ADD A,C 2 A=A+C
82 ADD A,D 2 A=A+D
83 ADD A,E 2 A=A+E
84 ADD A,H 2 A=A+H
85 ADD A,L 2 A=A+L
Flags ALTD I/O
S Z L/V C F R SP S D
• • V • • •