Arithmetic micro operations
2. General purpose register R1.
3. General purpose register R2.
2. Decrement.
3. Binary Addition
4. Binary Subtract.
5. 1’s complement.
6. 2’s complement.
7. Binary subtraction using 2’s complement addition.
Detailed discussion below:
Increment the contents of any of the three registers.
Some examples:-
AC = AC + 1
R1 = R1 + 1
R2 = R2 + 1
Decrement the contents of accumulator.
Some examples:-
AC = AC -
R1 = R1 -
R2 = R2 -
Add contents of registers R1 and R2 and transfer the sum to AC. (Binary adder circuit)
Some examples:-
AC = R1 + R2