Running A Machine-Code Program - Acorn computer econet level 2/3 User Manual

File server
Table of Contents

Advertisement

You can also specify where in memory you wish to load a file.
Type:
* LOAD <filename> <start> [RETURN]
EXAMPLE
Type: *LOAD DATA 5000[RETURN]
This ignores the reload address of DATA and loads the file at
address 5000 in memory.
Running a machine-code
program
To start a machine-code program, you load the file containing
the program to an appropriate address in memory and then begin
execution at the execution address of the program. The *
command does both these steps by loading a file to its reload
address, and then starting execution at the execution address of
the file. Both these values are set by *SAVE.
Type:
*<filename>[RETURN]
EXAMPLE
To run PROG as a machine-code file
type:
*PROG[RETURN]
The file PROG will then be loaded at the reload address,
and execution will start at the execution address.
In this way you can create machine-code programs and use
them as utility commands.
EXAMPLE
If you had developed an editor stored in a file called EDIT
typing:
*EDIT[RETURN]
would load and run the program.
With the *RUN command you can develop command programs
which have the same names as Econet filing system commands.
* and *RUN
33

Advertisement

Table of Contents
loading

This manual is also suitable for:

Econet level 2Econet level 3

Table of Contents