• recategorized by
795 views
1 1 vote

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

  1. copy the original byte to the less significant byte of the word and fill the more significant with zeros
  2. copy the original byte to the more significant byte of the word and fill the less significant byte with zeros
  3. 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
  4. copy the original byte to the less significant byte as well as the more significant byte of the word

1 Answer

0 0 votes
lets take an Example and solve this

let number = -12

-12 is represented in 2's complement representation of in 1 byte space = 11110100

and in 16 bit word 0r 2-byte space = 11111111 11110100

After going through each and every options given below Answer will be Option: (C)
Answer:
Position:
Show:

Related questions

0 0 votes
2 2 answers
1.2k
1.2k views
admin asked Oct 2, 2022
1,178 views
The decoding circuit shown in the figure is has been used to generate the active low chip select signal for a microprocessor peripheral. (The address lines are designated...
0 0 votes
0 0 answers
399
399 views
admin asked Oct 2, 2022
399 views
The following insturctions have been executed by an $8085 \; \mu \mathrm{P}$$\begin{array}{cl}\text { ADDRESS (HEX) } & \text { INSTRUCTION } \\ 6010 & \text { LXI H, 8A ...
0 0 votes
1 1 answer
460
460 views
admin asked Sep 25, 2022
460 views
The range of signed decimal numbers that can be represented by $6$-bite $1$'s complement number is$-31$ to $+31$$-63$ to $+64$$-64$ to $+63$$-32$ to $+31$
0 0 votes
0 0 answers
341
341 views
admin asked Oct 2, 2022
341 views
Each cell of a Static Random Access Memory contains$6 \; \text{MOS}$ transistors$4 \; \mathrm{MOS}$ transistors and $2$ capacitors$2 \; \text{MOS}$ transistors and $4$ ca...

Add Synced Question

×