Setup for the AS11 Assembler in Windows XP
Get the software
Download the AS11 program into your as11code folder. You will need to decompress the ZIP file using, for example, WinZip or the "File... Extract All..." command in Windows Explorer. Be sure the executable program as11.exe is in your as11code folder.
Download the MicroLoad distributable archive to your desktop. You will need
to decompress the ZIP file into a temporary folder on the desktop. Then open the
folder and run setup.exe by double-
Write and assemble your program
Create your source code file using a text editor (e.g. Notepad or EditPlus). Save your source code file with the extension asm, for example myprog.asm, in your as11code folder. Note that the file name must be in the "8.3" format: a maximum of 8 characters for the name (before the dot), and a maximum of 3 characters for the extension (after the dot).
Double-
as11 myprog.asm
This runs the assembler program as11.exe that creates the file myprog.S19, which can be downloaded to your board using MicroLoad. Once assembly has finished, you should see a report stating 0 errors were found. If there were errors, you should check your source file for typos or syntax errors. To help narrow down where they are, you can use the assembler to generate a listing file. Do this with the following command line:
as11 myprog.asm -
Load your program using the MicroLoad
Double-
Then open myprog.lst in Notepad to examine where the errors have occurred.