search
Log In
0 votes
77 views
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
in CO and Architecture 77 views

1 Answer

0 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.

0
Is there any link or something from where I can read it in detail.
1

@sumit : refer this book

Related questions

0 votes
1 answer
1
0 votes
0 answers
2
97 views
Ans given is (-448). Is it correct?
asked Nov 2, 2018 in CO and Architecture amitqy 97 views
1 vote
1 answer
3
7 votes
6 answers
4
1.8k views
Consider three registers $R1$, $R2$, and $R3$ that store numbers in $IEEE-754$ single precision floating point format. Assume that $R1$ and $R2$ contain the values (in hexadecimal notation) $0x42200000$ and $0xC1200000$, respectively. If $R3=\frac{R1}{R2}$, what is the value stored in $R3$? $0x40800000$ $0xC0800000$ $0x83400000$ $0xC8500000$
asked Feb 12 in CO and Architecture Arjun 1.8k views
...