Motorola CPU32 User Manual Page 285

  • Download
  • Add to my manuals
  • Print
  • Page
    / 646
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 284
Integer Instructions
MOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 4-181
SUBQ Subtract Quick SUBQ
(M68000 Family)
Operation: Destination – Immediate Data Destination
Assembler
Syntax: SUBQ # < data > , < ea >
Attributes: Size = (Byte, Word, Long)
Description: Subtracts the immediate data (1 – 8) from the destination operand. The size
of the operation is specified as byte, word, or long. Only word and long operations can
be used with address registers, and the condition codes are not affected. When
subtracting from address registers, the entire destination address register is used,
despite the operation size.
Condition Codes:
X Set to the value of the carry bit.
N — Set if the result is negative; cleared otherwise.
Z Set if the result is zero; cleared otherwise.
V Set if an overflow occurs; cleared otherwise.
C — Set if a borrow occurs; cleared otherwise.
Instruction Format:
XNZVC
∗∗∗∗∗
1514131211109876543210
0101 DATA 1 SIZE
EFFECTIVE ADDRESS
MODE REGISTER
Page view 284
1 2 ... 280 281 282 283 284 285 286 287 288 289 290 ... 645 646

Comments to this Manuals

No comments