2.2. Using the Simulator

To run the program on the simulator, we use the run command, as in the following example. This will load the program into the simulator, start it, and handle any input and output.

$ m1750-coff-run hello
Hello world