When an operation is executed on data stored on a register, we call this a micro operation. Micro-operations play a vital role in the kinds of operations performed on registers.
Examples include shifting, clearing, counting and loading operations.
Micro operations can be divided into four(4) namely:
1. Register transfer micro-operations; which transfer binary information from one register to the other.
2. Arithmetic micro-operations; which perform arithmetic operations on numeric register values.
3. Logic micro-operations; which perform bit manipulation operations on non-numeric values in registers.
4. Shift micro-operations; which perform shift operations on values stored in the register.
To illustrate an example, we'll use two registers each storing 6 bit values.
Let the content of R1 be 1 0 0 1 1 0
Let the content of R2 be 1 0 1 1 1 1
The X-OR micro-operation (R1 X-OR R2) will become 0 0 1 0 0 1. Study the XOR to understand how this value was obtained.
Leave a comment if you found this explanation helpful.