The Gateway to Computer Science Excellence
0 votes
51 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 by Active (1.5k points) | 51 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.

by Active (1.8k points)
0
Is there any link or something from where I can read it in detail.
+1

@sumit : refer this book

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,645 questions
56,601 answers
195,852 comments
102,213 users