LWTOOLS is a set of cross-development tools for the Motorola 6809 and Hitachi 6309 microprocessors. It supports assembling to raw binaries, CoCo LOADM binaries, and a proprietary object file format for later linking. It also supports macros and file inclusion among other things.

LWTOOLS was born in 2006 when William Astle decided that none of the crossassemblers available at the time supported all the features he wanted to use. After over two years of intermittent development, and three separate releases of LWASM and one separate release of LWLINK, LWTOOLS had it's initial release on January 29, 2009.

You can read the manual for LWTOOLS version 4.11 online as a single HTML page, multiple HTML pages, or as a PDF.

If anyone wishes to support further development of LWTOOLS, I accept bitcoin donations at the following address: 1EcdzmbwuqY4ydBtmyzP58wJywvLUqkGzE. I also accept USD and CAD by post. Contact me for details. If you have a pet feature you want added to the tools, you might be able to motivate me to implement it for a sufficient bribe.

Building from Source

On a reasonable system, lwtools should build from the source by simply running "make" at the top level of the source directory. The various binaries will be in the lwasm, lwlink, and lwar directories when done. "make install" will install the binaries to /usr/local/bin/.

It is possible to build Windows binaries using mingw or Cygwin (www.cygwin.com).

For Cygwin install GCC or Clang and make, then follow the instructions above.

For mingw, install the complete development system in addition to the C compiler and the basic MSYS system. Then, running under the mingw shell, the same procedure as for reasonable systems above will work. The exe files will be in the directories mentioned above. Note that you can access your "C" drive at /c in mingw which should allow you to find your downloaded lwtools tar archive.

As of LWTOOLS 4.12, projects for building in Visual Studio 2013 or later are provided as a courtesy. Reasonable efforts are made to keep them up to date, however this is not an officially supported configuration.

Third Party Contributions

Various third party contributions are presented here. Third party contributions are provided as is. Any problems with any third party contribution should be directed to the originator of the contributions. For obvious reasons, I cannot provide any support for anything provided by third parties.

Of particular interest to those of you running on Windows are Tormod's windows binaries in contrib/tormod. Again, these are provided for your convenience but are not officially supported.


The following released versions are available. Please do not report bugs in older releases unless they are present in the latest release. Old releases are provided for archaeological purposes only.

The source code is also available from the project's mercurial repository which can be found at http://lwtools.projects.l-w.ca/hg/.

Note that the project originally used subversion. However, on March 18, 2010, it was switched over to mercurial.

Note also that as of January 19, 2011, the old repository was decommissioned in favour of a new, clean repository. The old repository is available at http://lwtools.projects.l-w.ca/hg-old/ in case anyone wishes to inspect it.

Back to CoCo 3 Stuff.

Last modified Wednesday, July 15, 2015. I can be contacted at lost@l-w.ca.