How does an adder perform unsigned integer subtraction?
Your analysis is not correct. Actually is CPU ALU unit dependent. 🙂 In first case you are using 4 bit integer but you forgotten that the highest bit of 4 bit sign integer is sign! So you are checking only the Carry and Overflow status and not also Negative status bit. In generally binary arithmetic … Read more