Motorola CPU32 User Manual Page 247

  • Download
  • Add to my manuals
  • Print
  • Page
    / 646
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 246
Integer Instructions
MOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 4-143
NEG Negate NEG
(M68000 Family)
Operation: 0 – Destination Destination
Assembler
Syntax: NEG < ea >
Attributes: Size = (Byte, Word, Long)
Description: Subtracts the destination operand from zero and stores the result in the
destination location. The size of the operation is specified as byte, word, or long.
Condition Codes:
X Set the same as 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 — Cleared if the result is zero; set otherwise.
Instruction Format:
XNZVC
∗∗∗∗∗
1514131211109876543210
01000100 SIZE
EFFECTIVE ADDRESS
MODE REGISTER
Page view 246
1 2 ... 242 243 244 245 246 247 248 249 250 251 252 ... 645 646

Comments to this Manuals

No comments