skip navigational linksPJRC
Shopping Cart Checkout Shipping Cost Download Website
Home Products Teensy Blog Forum
You are here: 8051 Tools Software Old AS31

PJRC Store
8051 Board, $79
LCD 128x64 Pixel, $29
LCD 16x2 Char, $14
Serial Cable, $5
9 Volt Power, $6
More Components...
8051 Tools
Main Page
Software
PAULMON Monitor
Development Board
Code Library
89C2051 Programmer
Other Resources

AS31 Assembler

This free program was originally written by Ken Stauffer, University of Calgary. This modified version includes some small fixes and the addition of Intel HEX format output for compatibility with my PAULMON debugger and most EPROM programmers.

Also, special thanks to Adam Kropelin, who compiled as31 for MSDOS/Windows using Microsoft Visual C++.

The AS31 documentation, derived from the original as31 man page is now available in html format. It still looks and feels like a unix man page, unfortunately.

  • Version 2, Beta Test #3 (updated March 20, 2001), download source code. Builds on Linux. Here is a WIN32 Build (command line). Fixes S-Record output, and command line version return non-zero on error, which is useful for running from a makefile.
  • Version 2, Beta Test #2 (updated July 25, 2000), download source code only. Builds on Linux (no Windows or DOS build yet). Fixes memory leaks and memory initialization. The GTK version runs correctly now.
  • Version 2, Beta Test #1 (updated April 20, 2000), download source code only. Builds on Linux (no Windows or DOS build yet). The new code has some bug fixes and continues parsing past syntax errors, like you'd expect it to do. There's even an (experimental) GTK version. Here's a screenshot. A graphical Windows version is planned, once the GTK version is stable. If you use AS31, now would be a great time to report bugs and/or request new features.
  • Version 1.0 UNIX Source Code. A binary is also included for linux. Compiling on other unix platforms should be pretty simple. Some source is in Yacc, but .c and .h files are provided. Warning: version 1.0 has a nasty bug in the lexer, and when built on modern linux systems, it has a bug that corrupts the output filename. Use version 2.
  • Version 1.0 MSDOS 16-bit Binary compiled by Adam. If you use Windows, try this one first.
  • Version 1.0 Windows95/NT 32-bit Binary also compiled by Adam.
  • Version 1.0 Hacked 32-bit MSDOS binary. This is an attempt at cross compiling within linux for msdos.
To test as31, try assembling this copy of PAULMON1, which is slightly modified to be compatible with as31. A copy of the correct object code is included, so you can easily check that your copy of as31 is working properly.


AS31 Assembler, Old Versions; Paul Stoffregen
http://www.pjrc.com/tech/8051/tools/as31_old.html
Last updated: February 24, 2005
Status: Pretty good, atmel icp in beta, missing some docs for code.
Suggestions, comments, criticisms, things you want?? <paul@pjrc.com>