EasyManua.ls Logo

Motorola 68000

Motorola 68000
60 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
22
The 68000's Instruction Set
Condition codes: X N Z V C
- * * * 0
The X-bit is not affected by a division. The N-bit is set if the
quotient is negative. The Z-bit is set if the quotient is zero. The V-
bit is set if division overflow occurs (in which case the Z- and N-
bits are undefined). The C-bit is always cleared.
Source operand addressing modes
EOR Exclusive OR logical
Operation: [destination] [source] [destination]
Syntax: EOR Dn,<ea>
Sample syntax: EOR D3,-(A3)
Attributes: Size = byte, word, longword.
Description: EOR (exclusive or) the source operand with the destination
operand and store the result in the destination location. Note that
the source operand must be a data register and that the operation
EOR <ea>,Dn is not permitted.
Application: The EOR instruction is used to toggle (i.e., change the state of)
selected bits in the operand. For example, if [D0] = 00001111, and
[D1] = 10101010, the operation EOR.B D0,D1 toggles bits 0 to 3 of
D1 and results in [D1] = 10100101.
Condition codes: X N Z V C
- * * 0 0
Destination operand addressing modes

Other manuals for Motorola 68000

Related product manuals