What are the logical operations for OR?
OR. ,Dn
OR. Dn,
ORI. #N,
What are the logical operations for AND?
AND. ,Dn
AND. Dn,
ANDI. #N,
What are the logical operations for EOR?
EOR. Dn,
EORI. #N,
What is the logical operation for NOT?
NOT.
Which logical operations require that either the source or destination operands be a data register?
OR and AND
What does EOR require the source to be?
data register.
What are the size parameters for AND, OR, EOR, and NOT?
B, W, or L
0FF0 1234 A017
A D3
OR.W A, D3
result?
1234 AFF7
D3
1986 0ADE
(A4)
ANDI.L #$00FF00FF, (A4)
result?
The source operand is a mask. Every other byte of the long word at A4 is cleared.
00FF 00FF
1986 0ADE
-----------------
0086 00DE
A4What is EOR for?
It gives the sign of the product.