CMIS 310
VVM/LMC lab exercise 1
Install the VVM from the class web site.
Run all the examples. Exercise their possible behaviors and errors.
See what happens when attempt is made to enter data outside the range.
See what happens when calculation overflows.
Use the RAM modification to introduce an invalid instruction into the
program and see the result when it's executed.
Write a program that determines the maximum of two inputted numbers.
It outputs the maximum.
Change the sumLooping so that it works correctly if the user enters 0
or a negative number.
Fix the multiply program.
Generalize the sum of first N integers to sum the integers
between M and N, inclusive. Assume M<=N. For example, if M is 3
and N is 6, compute the sum of 3+4+5+6