Negate Quadword without Overflow (negq)

Syntax

negq $s_reg, $d_reg

negq $d_reg/$s_reg

negq val_immed, $d_reg

Description

Negate Quadword (without overflow) negates the integer contents of the source register and puts the result in the destination register. An overflow occurs if the value in the source register is –9223372036854775808, but the overflow exception is not signaled.