ELE 205 Microprocessor Laboratory

Setup for the AS11 Assembler and Wookie simulator in Windows XP

  1. Create a folder for your ELE 205 programs; here we call it ELE205 in the My Documents folder
  2. On the Start menu:
    • Choose Programs
    • Choose Accessories
    • Right-click on Command Prompt
    • Choose Copy
  3. Open your ELE 205 folder: double-click the ELE205 folder in My Documents
  4. Right-click and choose Paste Shortcut. A new Command Prompt shortcut will appear.
  5. Right-click the new shortcut and choose Properties
  6. Click on the Shortcut tab; set the following values:
    • Start in: Set this to the path of your ELE205 folder
      For example:
      C:\Documents and Settings\Vetter\My Documents\ELE205
    • Run: Choose Normal Window
  7. Click OK to close the Properties window.

Get the software

Download the Wookie and AS11 programs into your ELE205 folder. You will need to uncompress the the ZIP files using, for example, WinZip or the "File... Extract All..." command in Windows Explorer. Be sure the executable programs wookie167.exe and as11.exe are in your ELE205 folder.

Write and assemble your program

Create your source code file using a text editor (Notepad works, but NotepadEx is better, and I hear EditPad Lite is good). Save your source code file with the extension asm, for example loop_sum.asm, in your ELE205 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 ELE205 folder. This will open a Command Prompt window. Assemble your source code with the command:

as11 loop_sum.asm

This runs the assembler program as11.exe that creates the file loop_sum.S19, which can be downloaded to the EVB or run in the Wookie simulator. To generate the listing file loop_sum.lst (with cycle counts, a symbol table, and cross references) use the command:

as11 loop_sum.asm -l c s cre > loop_sum.lst

Run your program using the Wookie simulator

Double-click on wookie167.exe in your ELE205 folder. Load your assembled program (loop_sum.S19 in our example), and optionally load the listing file (loop_sum.lst) using the View Code button. Execute your program in continuous or single-step mode as described in the Lab 3 handout.

ELE 205 home