NEGX - Two's Complement Index Register ;flags(N,Z,C)
NEGX ;X < $00 - X ;(INH) inherent addressing
Replaces the contents of X with its two's complement. Note that the value $80 is left unchanged.