HP 9835A Programming Manual page 34

35 series desktop computer assembly development rom
Table of Contents

Advertisement

20
Getting Started
The order in which modules appear in the ICOM region is determined by the order in which
they are loaded using the ILOAD statement discussed in the next section or are created by the
IASSEMBLE statement discussed in the next chapter.
In most cases, the space which is freed up by reducing the size of the ICOM region is returned to
your available memory space. Sometimes, however, it is not returned, this being caused by the
status of the common area allocated in memory, or by other option ROMs. The space is
returned whenever -
• There is no common area assigned (with the COM statement); and,
• The requirements of another option ROM do not interfere.
There may be any number of ICOM statements in a program. The current size of the ICOM
region is determined by the last one which appears in the program when the
8
key is pressed
(or the command RUN is executed).
For example, suppose you have a program with the following statements in it -
ICCt'1 '3::::':+
Ii Ii'l A$
[J.
i;3!J::!
Upon pressing
8,
the ICOM region would be 2 000 words long. This is because line 610 is
the final ICOM appearance.
The region continues to exist even if you load in another program which contains no ICOM
statements. All ICOM statements must appear in the main program, not in any subprogram.
ICOM statements in a program must appear before any COM statement. This is to insure that
the ICOM region will be allocated before the common is allocated.

Advertisement

Table of Contents
loading

Table of Contents