加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 大数据 > 正文

Cpt S 260 Hw2 Bonus MIPS

发布时间:2020-12-14 05:13:29 所属栏目:大数据 来源:网络整理
导读:Cpt S 260 Hw2 Bonus Please print your name! Bonus 1: Each register stores 32 bits. By inspecting the content of a register,can I figure out whether it stores an unsigned number or a signed number? why or why not? Bonus 2: In MIPS,each sign


Cpt S 260 Hw2 Bonus
Please print your name!
Bonus 1: Each register stores 32 bits. By inspecting the content of a
register,can I figure out whether it stores an unsigned number or a signed
number? why or why not?
Bonus 2: In MIPS,each signed number is in 32 bits. What is the largest
signed number and what is the smallest?
Bonus 3: In MIPS,the entire memory has 232 bytes and hence each
address takes 32 bits (recalling that each memory address points to a byte).
Suppose that the register $s1 stores a memory address. I want to obtain a
new memory address which is 4 plus the address stored in $s1. Then,the
new address is stored in $s2. Without considering address overflow (the new
address is out of the address range),
Can I use addiu $s2,$s1,4 to compute the new address?
Can I use addi $s2,4 to compute the new address? why or why
not?
You may want to use the following 32-bit memory address
100 · · · 00010
to verify your answer.

因为专业,所以值得信赖。如有需要,请加QQ99515681 或邮箱:[email?protected]?

微信:codinghelp

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读