Chapter
J,
Assembly
Language
and
Processors
OBJECT
FILE
SOURCE
ASSEMBLER
PROGRAM
PROGRAM
FILE
PROGRAM
LISTING
CROSS
REFERENCE
LISTING
Figure
,-,.
Assembler
Outputs
Object Code
For most microcomputer applications, you probably
will
eventually load the object program into some form
of
read only memory, However, do not forget
that
the Intellec development system
is
an
8080
microcomputer
system with random access memory.
In
most cases you can load and execute your' object program on the
development system for testing and debugging. This
allows you to test your program before
your
prototype
application system
is
fully developed.
A special feature
of
this assembler
is
that it allows you to request object code
in
a relocatable format. This frees
the programmer from worrying
about
the eventual mix
of
read only and random access memory
in
the application
system; individual portions
of
the program can
be
relocated as needed when the application design
is
final. Also,
a large program can
be
broken into a number
of
separately assembled modules. Such modules arc both easier to
code and to test.
See Chapter 4
of
this manu.ll for a more thorough description
of
the advantages
of
the relocation
feature.
Program Listing
'-2
The program listing provides a permanent rec:xd
of
both the
,ource
program and the object code. The assembler
al,o provides diagnostic message, for
common
programming errors
in
the program listing. For example,
if
you
,pecifya
J 6-bit value for an instruction
that
can usc only an 8-bit value, the assembler tells you
that
the value
exceeds the
permis,ible range.