ADM
Detailed Description
The DATA RAM data character specified by the last SRC instruction, plus the carry bit, are added to the accumulator. The carry bit will be set if the result generates a carry, otherwise. the data character is not affected.
The opcode for this instruction does not contain any additional data:
Example
In this example, the carry bit = 0, the accumulator contains a value of 10, and DATA RAM character 0 of register 0 of chip 0 contains 7.
/ Example
FIM 0P 0
SRC 0P
ADM
The adm operation above is carried out as follows:
Accumulator = 1 0 1 0
Data Character = 0 1 1 1
Carry = 0
-------
Result 1 0 0 0 1
The accumulator contains 1 and the carry bit is set.