/opcodes/add

Arithmetic // ADD

Description

The contents of register r are added to the contents of the Accumulator, and the result is stored in the Accumulator. The r symbol identifies the registers A, B, C, D, E, H, or L, assembled as follows in the object code: Register r A111 B000 C001 D010 E011 H100 L101

Example

If the Accumulator contains 44h and Register C contains 11h, then upon the execution of an ADD A, C instruction, the Accumulator contains 55h.

Opcodes