bitst
store bit
Code: 22 F4
Description: Overwrite the bit position Areg of the value in Creg with a single bit with
the value given by Breg. Breg is rotated into Creg, to preserve the value rather than
the bit number.
Definition:
Areg′ ← (Creg ∧ ~(1 << Areg)) ∨ (Breg << Areg)
Breg′ ← Creg
Creg′ ← Breg
Status Register:
No effect
Comments:
Secondary instruction.
Areg must be in the range 0..31.
Breg must be 0 or 1.
See also: bitld bitmask
section 4.8.
98/205
®