题目
CSE-12-02 Quiz 3 : Sequential Circuits, Signed Numbers, Decoders, Multiplexers
单项选择题
Find the decimal representation of 0x8A1B assuming the hexadecimal number relates to the 2s complement representation form of a 16 bit binary number.
选项
A.-30181
B.-30180
C.35358
D.35359
E.None of these
查看解析
标准答案
Please login to view
思路分析
We start by identifying what 0x8A1B represents in a 16-bit two's complement system.
The unsigned value of 0x8A1B is: 0x8A1B = 0x8A00 + 0x1B = 35328 + 27 = 35355.
Since the most significant bit is 1 (the 16th bit), this value is negative in 16-bit two's complement.
To find th......Login to view full explanation登录即可查看完整答案
我们收录了全球超50000道考试原题与详细解析,现在登录,立即获得答案。
类似问题
Suppose that 16-bit two's complement numbers are being employed. Consider the bit pattern: 1111 1111 1110 0100 What decimal integer most likely corresponds to these sixteen bits:
Suppose that 12-bit two's complement numbers are being employed. What decimal integer would give rise to the twelve-bit sequence 1111 1110 0010:
Suppose that 8-bit two's complement numbers are being employed. What bit pattern corresponds to the decimal integer value −50 (negative fifty):
Category: 16-bit Twos Complement 5 + 4 Assuming that all numbers are represented in 16-bit two's complement binary, what is the decimal value of the result of adding 5 and 4? Your answer must start with an initial sign, + or -. The rest of your answer must only contain decimal digits.
更多留学生实用工具
希望你的学习变得更简单
加入我们,立即解锁 海量真题 与 独家解析,让复习快人一步!