ECE 424 
Design of Microprocessor-Based Systems

Fall 2006



How to compile and link your assembly programs


The following example shows how to compile and link an assembly language program, test.asm, in a DOS command window. You can download this program and try to compile and link it on your PC.

1. Compile the source file
2. Link the objective file The computer will ask you specify the executable file name, library name, and other options. Always type to use default values.

After the above two steps, you will have the executable file: test.exe. Try to execute it by typing test.

3. Change the executable into a binary file After this step, you will have the binary file test.bin which contains all the machine code for the instructions in test.asm.

Download files:
You need download all the following programs into your PC.





Comments: Webmaster
Copyright © 2006, Board of Trustees, Southern Illinois University, Privacy Policy Last Updated May 5, 2006