EasyManua.ls Logo

Intel 8080 - B3_Page_44

Intel 8080
224 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter
4.
Assembler
Directives
Input/Output
When testing program modules,
it
is
likely that some input or
output
procedures appear
in
other
modules. Your
program must simulate any
of
these procedures
it
needs to operate. Since your Intellec development sY',lem
probably has considerably more random access memory than you need
to
test a program module, you may
be
able to simulate input and
output
data right
in
memory. The LOCATE program supplies
<In
address for the
reserved word
MEMORY; thiĀ·;
i'.
the address
of
the first byte
of
unused memory past the end of your program.
You can access this memory using the symbolic reference MEMORY, MEMORY+l, and
so
on. This memory
can be used for storing test data or even for a program that
generate, test data.
Remove Coding Used for
Testin:7
4-20
After testing your program, be certain to remove any code you inserted for testing.
In
particular, make certain
that
only one module
in
the complete program initializes the stack pointer.

Table of Contents

Related product manuals