Retrieving And Storing Modules - HP 9835A Programming Manual

35 series desktop computer assembly development rom
Table of Contents

Advertisement

22
Getting Started
If the size being requested is smaller, modules are deleted if they no longer fit into the smaller
region. For example, suppose the following situation existed-
1--1- ....... - - - - - - - - - -
"old" ICOM size
----------I.~I
I
module
module
module
module
module
A
B
C
D
E
I
' " " " I .1------
"new" ICOM size
-------t.~1
Upon compilation of the new ICOM statement, the modules E, D, and C are deleted. None of
those modules may contain an active interrupt service routine or an error results (number 193).
Retrieving and Storing Modules
Modules are stored in files on mass storage media as Option ROM (OPRM) or Assembly
(ASMB) types of files. On tape media, they are stored in the OPRM type and on non-tape
media they are stored in the ASMB type. In this case, the two file types are equivalent.
1
To retrieve a module, or modules, from mass storage, identify the file name of the file contain-
ing the module. Combine the name with the mass storage unit specifier
2
of the device to form a
file specifier. Then execute the statement -
I LJ:n::n:J {file specifier}
This retrieves ALL the modules in the file and stores them in the ICOM region.
If there are modules already loaded in the ICOM region, these additional modules are added to
them, (NOT written over them). If an existing module in the ICOM area has the same name as
one of the modules being loaded, the existing module is deleted and the loaded version takes
its place.
If you do not want all the modules in a given file, you can purge the unwanted ones from the
ICOM region using the IDELETE statement-
IIJ!::~:L.",::::='T'E:.::
{module name} [,{module name} [, ... ]]
1
OPRM-type files may be created by other option ROMs for their particular purposes. In those cases, the contents are entirely
different.
2
Not to be confused with the single-word msus described in Chapter l. This form is used by BASIC's Mass Storage statements
(see the Operating and Programming Manual or Mass Storage Techniques Manual),

Advertisement

Table of Contents
loading

Table of Contents