Homework 1 (Due 3/6 5:00 pm)
(1) Write your first MIPS assembly program--print"hello world!".
1. You can download window versions of SPIM simulator (PCSpim) from
http://www.cs.wisc.edu/~larus/spim.html
2. You can find MIPS assembly language and SPIM documents from
http://www.cs.wisc.edu/~larus/spim.html and Appendix A of
Hennessy & Patterson.
3. You can find a code example for printing strings in page A-48 of
Appendix A.
(2) Exercise 2.10 of H & P.
(3) Exercise 2.13 of H & P.
(4) Exercise 3.19 of H & P.
Note: Please email problem 1 to cylee@csie.ntu.edu.tw
. Put "Computer Architecture HW #1" in the subject line of your email.
Turn in the rest of the homework (problem 2, 3 and 4) to the TA at
office 211.
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.112.3.42