Question: QUESTION 1: (a) Assume that 4-bit two's complement scheme is used for representing integers in a hypothetical machine. Represent the following decimal numbers into 4-bit

QUESTION 1: (a) Assume that 4-bit two's complement scheme is used for representing integers in a hypothetical machine. Represent the following decimal numbers into 4-bit two's complement scheme using the machine. i) A = (4) ii) B = (-6) iii) C = (5) [1.5 marks] (b) Perform the following arithmetic operations in binary using this machine and identify if any overflow occurs in each of the results. Then, convert each output of arithmetic operation to decimal value. i) (A + B) ii) (B-C)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
