Custom MSPsim

This is a custom version of the MSPsim simulator, which supports:

  • Software access to the cycle counter
  • Simple printing (it is possible to use UART for printing in MSPsim, but here all you need is to write the char to a specific byte in memory)
  • Stops simulator after program ends
  • Prints statistics after program exits, such as number of cycles taken, max stack usage (approximate) and stack trace of the point of max stack usage.


This is based on a fairly old version of MSPsim, but it Works For Me. The source is included in the .jar file.