subject
Engineering, 03.03.2020 16:30 kaitlksndj

TPS (Think-Pair-Share) activity 1 Paired with the classmate sitting next to you and do the following tasks (20 minutes): 1. Load fib. s in MARS and study the code. The is the same program we worked on in Lab #6. 2. Recall that fib. s calculates the 13th Fibonacci number (n 13). Now let's make this program more generic so it will calculate the nth Fibonacci number, where n can be any number from a user input. 3. From Lab #6, we have learned how to print out statements in MIPS. Insert instructions in fib. s so that the program will print out "Please enter a number:" at the beginning of the program to prompt user for input. 4. In the program, $t3 was used to store the value of n. Now, let's read in a user input and save that value into $t3. Do a search in the MARS documentations to find out how to use syscall to read an INTEGER from a user. Again, you must store the value into $t3 5. Since the program now reads a number from a user, do we need to declare n in the. data segment of the program? How about the la and Iw instructions regarding n? Comment out those instructions so they won't mess up your program 6. Assemble the program and test it with different numbers to see if it runs correctly. (You can use the original fib. s to verify your results.)

ansver
Answers: 1

Another question on Engineering

question
Engineering, 04.07.2019 18:10
The higher the astm grain-size number, the coarser the grain is. a)-true b)-false
Answers: 3
question
Engineering, 04.07.2019 18:10
Consider a large isothermal enclosure that is maintained at a uniform temperature of 2000 k. calculate the emissive power of the radiation that emerges from a small aperture on the enclosure surface. what is the wavelength ? , below which 10% of the emission is concentrated? what is the wavelength ? 2 above which 10% of the emission is concentrated? determine the wavelength at which maximum spectral emissive power occurs. what is the irradiation incident on a small object placed inside the enclosure?
Answers: 2
question
Engineering, 04.07.2019 19:10
A)-in the process of engineering design, explain the contribution of material selection. b)- explain the procedure of synthesis as is employed in engineering design. c)- is there any relationship between ergonomics and engineering design? explain. d)- safety consideration in engineering design includes human, product and the enviroment . explain how safety will be incorporated into the design?
Answers: 3
question
Engineering, 04.07.2019 19:10
Aplate of dimensions 3 m x 3 m is placed 0.37 mm apart from a fixed plate. the plate requires a force of 2n to move at speed of 45 cm/s. evaluate the viscosity of the fluid in between the plates
Answers: 3
You know the right answer?
TPS (Think-Pair-Share) activity 1 Paired with the classmate sitting next to you and do the following...
Questions
question
Mathematics, 15.09.2020 01:01
question
English, 15.09.2020 01:01
question
Mathematics, 15.09.2020 01:01
question
Social Studies, 15.09.2020 01:01
question
French, 15.09.2020 01:01
question
Social Studies, 15.09.2020 01:01
question
Mathematics, 15.09.2020 01:01
question
History, 15.09.2020 01:01
question
Social Studies, 15.09.2020 01:01
question
Mathematics, 15.09.2020 01:01
question
Social Studies, 15.09.2020 01:01
question
Social Studies, 15.09.2020 01:01
question
Mathematics, 15.09.2020 01:01
question
Mathematics, 15.09.2020 01:01
question
Mathematics, 15.09.2020 01:01
question
English, 15.09.2020 02:01
question
Mathematics, 15.09.2020 02:01
question
Mathematics, 15.09.2020 02:01
question
Mathematics, 15.09.2020 02:01
question
Mathematics, 15.09.2020 02:01
Questions on the website: 13722362