closed by
430 views
0 votes
0 votes
closed as a duplicate of: GATE CSE 2002 | Question: 1.16
Sign extension is a step in

a) floating point multiplication

b) signed 16 bit integer addition

c) arithmetic left shift

d) converting a signed integer from one size to another
closed by

1 Answer

1 votes
1 votes

(d) is the answer. Sign extension (filling the upper bits using the sign bit) is needed while increasing the number of bits for representing a number. For positive numbers, 0 is extended and for negative numbers 1 is extended.

Related questions

0 votes
0 votes
1 answer
1
0 votes
0 votes
0 answers
2
amitqy asked Nov 2, 2018
386 views
Ans given is (-448). Is it correct?
2 votes
2 votes
1 answer
3
Raja Rawal asked Jan 14, 2019
974 views
how to solve this