Overview of Word Logic Instructions
Word logic instructions compare pairs of words (16 bits) and double words (32 bits)
bit by bit, according to Boolean logic.
The value of the result at output OUT relative to 0 affects the CC 1 bit in the status word as follows:
If the result at output OUT is not equal to 0, the CC 1 bit in the status word is set to
1.
If the result at output OUT is 0, the CC 1 bit in the status word is set to 0. The following instructions are available for performing word logic operations:
· | WAND_W : | AND Word (Word) |
· | WOR_W : | OR Word (Word) |
· | WXOR_W : | Exclusive OR Word (Word) |
· | WAND_DW : | AND Double Word (Word) |
· | WOR_DW : | OR Double Word (Word) |
· | WXOR_DW : | Exclusive OR Double Word (Word) |
0 comments:
Post a Comment