Answer all numbered and bulleted questions. Upload your answers and program files to the VikingWeb coursework section.
***Put your written answers to the questions in a text file or Microsoft Word document and upload it with any source code. You only need to upload source code files if indicated in the assignment below.
You may work in pairs for all parts of this assignment, including the homework exercises.
You will create a sm_funcs.c
file containing
implementations of the first five functions with names starting
"sm_
..." in simpletron.h
. Also, you
will develop a sm_main.c
file containing the
main function for the Simpletron simulator.
Here are some sample input files to run on your
simulator. These are the exercises we solved in class:
Simpletron program (b)
Simpletron program (c)
(Note: These programs may or may not be completely
correct. If the results are not as you expect, you may
need to debug these and/or your own Simpletron simulator
code.)