<< Previous | Next >>

> ADD A,r Add Without Carry Rabbit 4000 Instruction

> Opcode | Instruction | Clocks | Operation
> ---- | ADD A,r | 4(2,2) | A = A + r
> 7F 87 | ADD A,A | 4(2,2) | A = A + A
> 7F 80 | ADD A,B | 4(2,2) | A = A + B
> 7F 81 | ADD A,C | 4(2,2) | A = A + C
> 7F 82 | ADD A,D | 4(2,2) | A = A + D
> 7F 83 | ADD A,E | 4(2,2) | A = A + E
> 7F 84 | ADD A,H | 4(2,2) | A = A + H
> 7F 85 | ADD A,L | 4(2,2) | A = A + L

> Flags | ALTD | IOI/IOE
> S | Z | L/V | C | F | R | SP | S | D
> · | · | V | · | · | · |  |  |

> #### Description

> A is summed with r (any of the registers A, B, C, D, E, H, or L). The result is stored in A.The Rabbit 4000 assembler views "ADD A,r" and "ADD r" as equivalent instructions. In the latter case, A is used even though it is not explicitly stated.

> The opcodes for these instructions are different than the same instructions in the Rabbit 2000, 3000 and 3000A.

<< Previous | Next >>