7. Condition Register XOR XL-form
crxor BT,BA,BB
19 BT BA BB 449 /
0 6 11 16 193 31
CRBT+32 <- CRBA+32 XOR CRBB+32
The bit in the Condition Register specified by BA+32 is
XORed with the bit in the Condition Register specified
by BB+32, and the result is placed into the bit in the
Condition Register specified by BT+32.
Special Registers Altered:
CRBT+32
Extended Mnemonics:
Example of extended mnemonics for Condition Register
XOR:
Extended: Equivalent to:
crclr Bx crxor Bx,Bx,Bx
8. Condition Register AND XL-form
crand BT,BA,BB
19 BT BA BB 257 /
0 6 11 16 21 31
CRBT+32 <- CRBA+32 & CRBB+32
The bit in the Condition Register specified by BA+32 is
ANDed with the bit in the Condition Register specified
by BB+32, and the result is placed into the bit in the
Condition Register specified by BT+32.
Special Registers Altered:
CRBT+32
9. Condition Register NAND XL-form
crnand BT,BA,BB
19 BT BA BB 225 /
0 6 11 16 21 31
CRBT+32 <- ¬(CRBA+32 & CRBB+32)
The bit in the Condition Register specified by BA+32 is
ANDed with the bit in the Condition Register specified
by BB+32, and the complemented result is placed into
the bit in the Condition Register specified by BT+32.
Special Registers Altered:
CRBT+32
10. Condition Register NOR
crnor BT,BA,BB
CRBT+32 <- ¬(CRBA+32 | CRBB+32)
Extended Equivalent to:
crnot Bx,By <=> crnor Bx,By,By
11. Condition Register Equivalent XL-form
creqv BT,BA,BB
19 BT BA BB 289 /
0 6 11 16 21 31
CRBT+32 <- CRBA+32 ≡ CRBB+32
The bit in the Condition Register specified by BA+32 is
XORed with the bit in the Condition Register specified
by BB+32, and the complemented result is placed into
the bit in the Condition Register specified by BT+32.
Special Registers Altered:
CRBT+32
Equivalent:
Extended: Equivalent to:
crset Bx <=> creqv Bx,Bx,Bx #set Bx + 32 bit to 1
12.Condition Register AND with Complement
XL-form
crandc BT,BA,BB
19 BT BA BB 129 /
0 6 11 16 21 31
CRBT+32 <- CRBA+32 & ¬CRBB+32
The bit in the Condition Register specified by BA+32 is
ANDed with the complement of the bit in the Condition
Register specified by BB+32, and the result is placed
into the bit in the Condition Register specified by
BT+32.
Special Registers Altered:
CRBT+32
No comments:
Post a Comment