Department of Computer Scien
ce and Information Engineering
National Cheng Kung University, TAIWAN
HANEL
SIGNED 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.