bitrevnbits
bitrevnbits
reverse bottom n bits in word
Code: 27 F8
Description: Reverse the order of the bottom Areg bits of Breg.
Definition:
if (0 ≤ Areg) and (Areg ≤ BitsPerWord)
{
Areg′0..Areg-1
← reversed Breg0..Areg-1
Areg′Areg..BitsPerWord-1 ← 0
}
else
Undefined effect
Breg′ ← Creg
Creg′ ← undefined
Error signals: none
Comments:
Secondary instruction.
The effect of the instruction is undefined if the n umber of bits specified is more
than the word length.
See also: bitrevword
41/212
®