6809 Simulator

Last updated July 22, 2009

GCC6809 has been tested in a variety of ways. An important tool has been this 6809 simulator, which was originally written by Arto Salmi but has been modified and enhanced greatly to support 6809 development.

You can download the stable version 0.91 sources directly, or you can track ongoing development on my Github repository.

Features

A more detailed user manual will be written once the interface becomes more stable.

Compiling the Code

The simulator can compile on any UNIX-like platform, such as Linux or Cygwin for Windows. autoconf is used to create the build environment. The usual configure, make, make install sequence should work just fine.

The executable is named m6809-run.

SIMPLE

The Simple Architecture was created to allow for minimal testing of the compiler. The C library, newlib, assumes this architecture today. All executables are just S-record files that contains the full memory image of the program, including the vector table at address 0xFFF0. The simulator starts from the reset handler at 0xFFFE and proceeds from there.

Three special addresses are reserved for input, output, and exit:

The C library already knows about these functions, if your target program calls getchar(), putchar(), or exit().

GCC 6809

Latest Release
(4.3.4-2)

Previous Releases

C Library

Simulator

Related Pages