Setup for the AS11 Assembler in Windows XP

  • Create a folder for your programs (we’ll call it as11code) in the My Documents folder
  • On the Start menu: Choose Programs
  • Choose Accessories
  • Right-click on Command Prompt
  • Choose Copy
  • Open your code folder: double-click the as11code folder in My Documents
  • Right-click and choose Paste Shortcut. A new Command Prompt shortcut will appear.
  • Right-click the new shortcut and choose Properties
  • Click on the Shortcut tab, and set the following values:
  •     Start in: Set this to the path of your as11code folder
             For example:
    C:\Documents and Settings\Carl\My Documents\as11code
  •      Run: Choose Normal Window
  • Click OK to close the Properties window.

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-clicking it.

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-click on the Command Prompt shortcut in your as11code folder. This will open a Command Prompt window. Assemble your source code with the command:

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 -l > myprog.lst

Load your program using the MicroLoad

Double-click on the MicroLoad icon on your desktop. Load your assembled program (myprog.S19 in our example). Follow the directions regarding the switches before and after loading.  After you press Reset, myprog should be running on your board.  If it doesn’t do what you expected, it’s time to have a closer look at your source code to see what you did wrong.

Then open myprog.lst in Notepad to examine where the errors have occurred.