Motorola M68000 User's Guide Page 144

  • Download
  • Add to my manuals
  • Print
  • Page
    / 256
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 143
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:
Page view 143
1 2 ... 139 140 141 142 143 144 145 146 147 148 149 ... 255 256

Comments to this Manuals

No comments