UMBC CMSC 313, Computer Organization & Assembly Language, Fall 2003, Section 0101
Compiling, Assembling & Linking
Tuesday 09/30, 2001
[Up]
[Previous Lecture]
[Next Lecture]
Assigned Reading in Murdocca & Heuring: 5.1-5.3
Assigned Reading in Neveln:
Assigned:
Due:
Topics Covered:
- Slides are available in PDF:
Slides10.pdf
- Overview of the compilation process: lexical analysis, parsing,
code generation, assembling and linking & loading.
- Did not do as much on assembling to machine code as the slides
would suggest.
- Looked at linking & loading in Unix in some detail.
Programs shown:
- Demonstrating how separately compiled programs are linked:
sep1.asm,
sep1.lst,
sep2.asm,
sep2.lst and
sep.txt.
- A program that shows you can jump to a defined in a
different file. The loader must then patch the relative
offset in the jump instruction. (This program was not
show in class.)
sep3.asm and
sep3.txt.
Last Modified:
22 Jul 2024 11:28:43 EDT
by
Richard Chang
to Fall 2003 CMSC 313 Section Homepage