Lab 4 – Intro to THRSim11

The main purpose of this lab is to introduce the THRSim11 simulator. The THRSim11 essentially aims to duplicate the entire functionality of the HC11 micro-controller with only a very few features excluded (specific exceptions available at http://www.hc11.demon.nl/thrsim11/nearly.htm). This tool simplifies the design and testing of assembly code for the HC11 by allowing the designer to directly observe aspects of the program that would be difficult to debug on the EVB. For example, using the simulator you can view RAM while the program is running and even change values in real-time without changing the code. Other features like being able to connect various peripherals (as well as code your own peripheral simulators), set breakpoints and step through code line-by-line all make the process of writing and debugging a program much easier. Finally, once the program is written the THRSim11 simulator can be used to assemble and then download and run the program on the EVB.

Download (PDF, 185.94KB)

About the Author