EE466/366 Computer Architecture EE 466/566 Computer Architecture Project 1 Lucas
ID: 2248524 • Letter: E
Question
EE466/366 Computer Architecture EE 466/566 Computer Architecture Project 1 Lucas Number In this project, you are going to write an assembly program using MIPS instructions in SPIM simulator to display the first n numbers of the Lucas series: 2, 1, 3, 4, 7,11,18, 29, 47, 76,123. https://en.wikipedia The number must be calculated and displayed at run-time, which means you can not pre-calculate the number by hand and simply display them one by one, except the first two numbers (1 and Environment To execute assembly code using MIPS instruction set, your project environment is the SPIM simulator, which can be downloaded at http://spimsimulator.sourceforge.net . It has both Windows and Mac versions For how to use SPIM simulator, please refer to Appendix A of the textbook. EE 466566 Computer Arhitect EE 466/566 Computer Architecture Interface construction Boundary checking For example, input n = 5, display the first 5 numbers in the series: n = 15, display the first 15 numbers, so on and so forth. But remember to put a dimeter between the numbers, you can use a space, a tab, a comma, etc. You also need to check user input n. n must be >= 1, if nExplanation / Answer
Lucas Number :
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.