NEG
Operation
Writes the selected-width two's-complement negation of the destination.
Assembler Syntax
NEG.{L|Q}(z) Rn(r)
NEG.{B|W|L|Q}(z) <ea>(e)
Privilege
Unprivileged
Repeat eligibility
REP eligible; REPcc observes dst
Writes the selected-width two's-complement negation of the destination value.
2.75in
Encodings
NEG.{L|Q}(z) Rn(r)
Format: Instruction format for NEG.{L|Q}(z) Rn(r)
2.75in NEG.{B|W|L|Q}(z) <ea>(e)
Format: Instruction format for NEG.{B|W|L|Q}(z) <ea>(e)
dst — excluded: immediate [invalid_destination]