Question: Problem 3 [30 points) a) With x=1111 1111 1111 1111 1011 0011 0101 0011two (0x FFFFB353) and y=0000 0000 0000 0000 0000 0010 1101 0111two

Problem 3 [30 points) a) With x=1111 1111 1111 1111 1011 0011 0101 0011two (0x FFFFB353) and y=0000 0000 0000 0000 0000 0010 1101 0111two (0x000002D7) representing two's complement signed integers. You are to carry out (i) addition and (ii) subtraction with this integer numbers, please determine if overflow occurs (or not) in each case (consider the sign of the numbers). x+y i) 1 1 1 1 1 1 1 1 1111 1111 1011 0011 0 1 0 1 0 0 1 1 0000 0000 0000 0000 0000 0010 1101 0111 ii) X - y 1 1 1 1 1 1 1 1 1 1 1 1 1111 10 1 1 0 0 1 1 0101 0000 0000 0000 0000 0000 0010 1101 0 0 1 1 0 1 1 1 b) Please answer the following questions: i) If we have the following 16-bit number, please obtain the 32-bit number using sign extend 1011 0011 1010 1001 ii) Please determine what this 16-bit two's complement number represents (in decimal) 1111 1010 1100 1010
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
