System information

1.6.3 LOAD Command
Syntax:
LOAD ufn
The LOAD command reads the file ufn, which is assumed to contain HEX format machine code,
and produces a memory image file that can subsequently be executed. The filename ufn is
assumed to be of the form:
X.HEX
and only the filename X need be specified in the command. The LOAD command creates a file
named
X.COM
that marks it as containing machine executable code. The file is actually loaded into memory and
executed when the user types the filename X immediately after the prompting character > printed
by the CCP.
Generally, the CCP reads the filename X following the prompting character and looks for a
built-in function name. If no function name is found, the CCP searches the system disk directory
for a file by the name
X.COM
If found, the machine code is loaded into the TPA, and the program executes. Thus, the user need
only LOAD a hex file once; it can be subsequently executed any number of times by typing the
primary name. This way, you can invent new commands in the CCP. Initialized disks contain the
transient commands as COM files, which are optionally deleted. The operation takes place on an
alternate drive if the filename is prefixed by a drive name. Thus,
LOAD B:BETA
brings the LOAD program into the TPA from the currently logged disk and operates on drive B
after execution begins.
1.6 Transient Commands CP/M Operating System Manual
1-24