Logical Micro Operation
Micro-operation is an elementary operation performed with the data stored in registers.
Logic micro-operation perform logic operations such as AND, OR, complement and XOR on the strings of bits stored in registers. Special symbols are used for the logic micro-operations AND, OR and complements to different them from the corresponding symbol used to express Boolean functions.
Figure : Hardware Implementation of Logic Circuit |
Application of Logical Micro Operation
There are
four applications of logical micro-operation: Selective Set Operation, Selective
Complement Operation, Selective Clear Operation, Mask Operation
Selective Set Operation:
In this operation, the bits in register A will change where corresponding register B bit is 1. The resultant bit is set to 1 in register A. If register B bit has 0, it will not affect register A bit.
The OR microoperation can be used to selectively set bits of a register.
Selective Complement Operation
In this operation, the bits in register A will complement, where corresponding register B bit is 1. If register B bit has 0, it will not affect register A bit.
The ex-OR microoperation can be used to selective complement bits of A register.
Selective Clear Operation
In this operation, the bits in register A will clear (set 0), where corresponding register B bit is 1. If register B bit has 0, it will not affect register A bit.
The corresponding microoperation is A ß A ∧ B’.
Mask Operation
The mask operation is similar to the selective clear operation. But in this operation, the bits in register A will clear (set 0), where corresponding register B bit is 0. If register B bit has 1, it will not affect register A bit.
The mask
operation is an AND microoperation.
Click here to watch video of Application of Logical Micro-operation
Watch more videos click here.
No comments:
Post a Comment