首页 > > 详细

MIPS program辅导、讲解c/c++,Java程序、讲解Java,Python语言 辅导Web开发|讲解数据库SQL

Homework2
1. Represent the following signed numbers in 32-bit two’s complement: (1).
+12, (2). -12.
2. Download Mars , the MIPS simulator, and write a MIPS program that
will print the string Hello on the terminal. Make sure you run the program
on the simulator and it actually works.
3. Every register stores 32-bits. Suppose now that the register s1 stores the
following 32 bits:
111 · · · 1111
where each bit is simply 1.
(1). When I run the instruction add s2, s1, s3, what’s the value of the
number stored in s1 ?
(2). When I run the instruction addu s2,s1,s3 instead, what’s the value
of the number stored in s1 ?


联系我们
  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-21:00
  • 微信:codinghelp
热点标签

联系我们 - QQ: 99515681 微信:codinghelp
程序辅导网!