Chapter 5
Chapter 5
Use the NEQ instruction to test whether two values are not equal.
Equal (EQU)
If source A and source B are equal, the instruction is logically true.
Use the GRT instruction to test whether one value (source A) is greater than another (source B).
If the value at source A is greater than or equal to the value at source B, the instruction is logically false.
If the value at source A is less than or equal to the value at source B, the instruction is logically false.
Use the GEQ instruction to test whether one value (source A) is greater than or equal to another (source B).
If the value at source A is greater than the value at source B, the instruction is logically false.
If the value at source A is less than the value at source B, the instruction is logically false.
Use of this instruction allows portions of the data to be masked by a separate word.
Mask is the address of the mask through which the instruction moves data.
If the 16 bits of data at the source address are equal to the 16 bits of data at the compare address (less masked
bits), the instruction is true.
The instruction becomes false as soon as it detects a mismatch. Bits in the mask word mask data when reset; they
pass data when set.