Department of Computer Science and Information EngineeringNational Cheng Kung University, TAIWAN
HANELSIGNED ARITHMETIC
INSTRUCTIONS
2's
Complement
To make the 2
’s complement of a
number
CPL A ;1’s complement (invert)ADD A,#1 ;add 1 to make 2’s comp.