IAC
Detailed Description
The contents of the accumulator are incremented by one. The carry bit is set if there is a carry out of the high order bit position, and reset if there is no carry.
The opcode for this instruction does not contain any additional data:
Examples
Example 1
If the accumulator contains 9, then the IAC operation will be as follows:
Accumulator = 1 0 0 1
+ 1
---------
Result 0 1 0 1 0
Carry
Example 2
If the accumulator contains 15, then the IAC operation will be as follows:
Accumulator = 1 1 1 1
+ 1
---------
Result 1 0 0 0 0
Carry