Page 147 - DCAP507_SYSTEM_SOFTWARE
P. 147
Unit 9: Design of an Absolute Loader
{ Notes
fprintf(fp3,"%s",obcode[i].code);
n++;
if(n>3)
{
fprintf(fp3,"%s",obcode[i].code);
n++;
if(n>3)
fprintf(fp3,"\t");
n=0;
count++;
} if(count>3)
{
fprintf(fp3,"\n%d\t",obcode[i+1].add);
count=0;
}}
getch();
}
Self Assessment
Fill in the blanks:
4. Since the ................................. loader requires to know the absolute (load time) values of
some external symbols before it can carry out the alterations on address constants, it needs
two passes.
5. The mainframe relocating loader can treat instructions precisely like .................................
data.
6. The ................................ records enclose the information essential to build the external
symbol dictionary or symbol table.
7. ................................. are symbols that can be referred away from the subroutine level.
8. The ................................. records enclose blocks of data and the relative address at which the
data is to be positioned.
9. The ................................. record states the end of the object file.
10. The main function of ................................. of a direct linking loader is to assign and assign
each program location in core and create a symbol table filling in the values of the external
symbols.
11. The main function of ................................. is to load the definite program text and carry out
the relocation modification of any address constants requiring to be altered.
12. The ................................... is used to amass the external symbols defined by means of a
Segment Definition (SD) or Local Definition (LD) entry on an External Symbol Dictionary
(ESD) record.
13. Each of the ESD record types is processed in a ................................... way.
LOVELY PROFESSIONAL UNIVERSITY 141