image-22466
Doing 8-bit hexadecimal addition is quite easy but doing 8-bit subtraction is kind of complicated. Anyway, in this program, we are going to learn how we can perform subtraction operation of two 8-bit hexadecimal numbers using 2’s complement. Input: For this program, we are going to need three consecutive memory locations; 2000H to 2002H. In the first two ...