
150 Assembly Language Programming for the 68000 Family
Operand 1
Operand 2
0
1
0
0
0
1
0 1
AND
OR results in a 1 if either of the operand bits are a 1.
Operand 1
Operand 2
0
1
0 0
1
1
1
1
OR
EOR is just like OR except that the result is a 0 if both operands are 1.
Operand 1
Operand 2
0
1
0
0
1
1 1
0
EOR
Logical Operations
With the exception of NOT, the general form of the logical instructions
is exactly the same as for ADD and ADDI. Both a source and destination
must be specified. The corresponding bits of the source and destination
operands are used to form the result, which is stored in the destination.
NOT requires only a destination operand. Here are the general forms:
Commenti su questo manuale