- 1、本文档共8页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
更多免费本科考研试卷 尽在卷卷天下 ( )
Introduction to Computer Systems Fall 2007
Final Examination
Name Student No. Score
Problem 1: (22 points)
Number Conversion: IEEE 754 single precision float standard is illustrated
below.
Normalized: (-1)sign * (1.fraction) * 2exponent-127 (exp=1 to 254)
Denormalized: (-1)sign * (0.fraction) * 2-126 (when exp=0, fraction≠0)
Zero : all 0’s in all 3 fields
1) Convert the number -45.453125 into IEEE 754 FP single precision
representation (in hex). (4’)
(-45.453125)10 = ( )16
2) What is the equivalent value as a decimal number? (4’*2 = 8’)
(0100 0011 0101 0100 0000 0000 0000 0000)2
(0111 1111 1011 0100 0000 0000 0000 0000)2
3) Calculate the sum of (45.453125)10 and (0100 0011 0101 0100 0000 0000
0000 0000)2, and then round the sum to 13 bits to the right of the binary
point. Give you steps detailed. (6’)
4) Can this number 2-127 be represented? If yes, show the number in IEEE
754 FP representation in hex. If no, explain the reason. (4’)
更多免费本科考研试卷 尽在卷卷天下 ( )
Problem 2: (16 points)
Given a CISC machine, there are two instruction formats for its arithmetic
operations. One is that all operands come from registers; the other is the first
operand comes from register and the second one comes from an immediate.
Supposing there are 4 registers which are numbered as 0, 1, 2 and 3. The
instruction formats are given as the following.
OP DR, SR1,SR2
Byte 0
7 6 5‐4 3‐2 1‐0
OP 0 DR SR1 SR2
OPI DR, SR1,IMM
文档评论(0)