Reference no: EM132210544
Question :
Write a program for each problem and you should uploaded to simulator, then Submit ( the simulator will translated LMC code to assembly language instruction ), then RUN to compile your program. Test your logic using the simulator on the provided link. Using the link for LMC papers and use the simulator.
PLEASE provide the following:
1. Complete LMC code for each problem.
2. Print screen of the output results of each problem after you run the program.
3. for each problem submit the above two items in a word documents for each problem.
Question
Write a Little Man program that prints out the sums of the odd values from 1 to 39. The output will consist of 1, 1+3, 1+3+5, 1+3+5+7... No input is required.
As an aside, do you notice anything interesting about the output results that are produced by this series?(the series is sometimes used as part of an algorithm for finding square roots of numbers.)