EasyManua.ls Logo

Motorola 68000 - Page 20

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...
18
The 68000's Instruction Set
Source operand addressing modes
CMPA Compare address
Operation: [destination] - [source]
Syntax: CMPA <ea>,An
Sample syntax: CMPA.L #$1000,A4
CMPA.W (A2)+,A6
CMPA.L D5,A2
Attributes: Size = word, longword
Description: Subtract the source operand from the destination address register
and set the condition codes accordingly. The address register is
not modified. The size of the operation may be specified as word
or longword. Word length operands are sign-extended to 32 bits
before the comparison is carried out.
Condition codes: X N Z V C
- * * * *
Source operand addressing modes
CMPI Compare immediate
Operation: [destination] - <immediate data>
Syntax: CMPI #<data>,<ea>
Attributes: Size = byte, word, longword

Other manuals for Motorola 68000

Related product manuals