Parts A, B: Consider the following 16-bit word, with the most significant bit on
ID: 1925693 • Letter: P
Question
Parts A, B: Consider the following 16-bit word, with the most significant bit on the left and the least significant bit on the right. The data value for this problem is grouped in 4 bits sections to be easier to read: Please refer to this 16-bit word: 0100 0100 0101 1000 Please treat as two 8 bit ASCII characters. Please show the result as two ASCII characters and also in hexadecimal as four hex digits. Please treat as an unsigned fixed point number with 12 bits integer and 4 bits fraction and show its decimal value, Answer: Consider the following 8-bit word, with the most significant bit on the left and the least significant bit on the right. 1100 1001 Please treat as a two's complement integer and show its decimal value and sign. Answer: Please treat as a two's complement fixed point number where the leftmost 4 bits are the integer part and the rightmost 4 bits are fractional and show its decimal value and sign. Answer:Explanation / Answer
Please ask if you have any doubt.I will help you.
2A : ASCII
0100 0100 = 64 + 4 = 68
0101 1000 = 64 + 16 + 8 = 88
Hex digits :
0100 0100 = 44H 0101 1000 = 58H
2B : 0100 0100 0101 1000 = .5 + 1 + 4 + 64 + 1024 = 1093.5
2C : 1100 1001
Negative value because of 1 in the beginnig.
Invert it : 0011 0110 and add 1 = 0011 0111
Thus the number = - 55
2D : The value is negative.
0011 0111 = 2 + 1 + 0 + 0.25 + 0.125 + 0.0625
ans : - 3.4375