The Gateway to Computer Science Excellence
0 votes
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)
Is there any link or something from where I can read it in detail.

@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
102,213 users