Practice over 1000+ GATE-level questions from this topic!
Designed to match the latest GATE pattern with topic-wise precision, difficulty tagging, and detailed solutions.
A signed integer has been stored in a byte using the 2’s complement format. We wish to store the same integer in a 16 bit word. We should
Copy the original byte to the less significant byte of the word and fill the more significant with zeros
Copy the original byte to the more significant byte of the word and fill the less significant byte with zeros
Copy the original byte to the less significant byte of the word and make each fit of the more significant byte equal to the most significant bit of the original byte
Copy the original byte to the less significant byte as well as the more significant byte of the word
Explanation Locked!
Unlock this branch to view the explanation, track, bookmark and more.
Sign in to Unlock