A Language Processing System (Cont.)


The Assemble-Link-Execute Cycle


This assemble-link-execute cycle includes the following files: Linker
Linker collects code separately compiled or assembled in different object files into a file that is directly executable. This process involves resolving references between the modules and fixing the relocation information used by the operating system kernel when loading the file into memory to run it.

Loader
It copies programs from a storage device to main memory, where they can be executed. It can also replace virtual addresses with physical addresses. Once loading is complete, the operating system starts the program by passing control to the loaded program code.

Review: A Language Processing System
    Which is a type of debugging symbol and contains information about the program’s code, data, and stack segments?

      Listing file
      Map file
      Object file
      Source file
Result:        




      An apple a day keeps the doctor away …    
      Or at least it does if you throw it hard enough.