ELET2100 - Microprocessors I

Using an Assembler

If you are using an MS-DOS based assembler,  you'll need to get to the MS-DOS emulator in Windows.

The first step in writing a program is to define the problem as completely as possible. You will always think of things as you go along that you left out. After thinking out the problem, you start by typing up a source file. Source files all end with the .asm extension. The extensions created by the assembler are .obj which is the object file and .lst which is the listing file. The listing file shows all the addresses resolved by the assembler, all the code generated and all the comments. This file is very important in for assisting you in the lab. The listing file also shows any errors in the assembly process so that you can correct them. It is crucial that you look at the listing file to be sure that there are no errors listed. The way you would use a program in real life is to write each program, assemble it, and then execute it.

For instructions on how to use the 8085 microprocessor kit used in the lab (the SDK-85), please purchase the book “Using the SDK-85 Microprocessor Trainer” which is a required text for the course and available in the university bookstore.

On to Lesson 8

Table of Contents