Running The Basic Program; Assembly Routines - Omron C500-ASC04 Operation Manual

Ascii unit
Table of Contents

Advertisement

Assembly Routines

3-3

Running the BASIC Program

3-4
Assembly Routines
20
The ASCII Unit can store and access three separate BASIC programs. Each
program has an associated program number. The user can specify which pro-
gram is to be used by setting pins 3 and 4 of the front panel DIP switch. This must
be done before the Unit is activated.
There are three ways to execute the specified BASIC program:
Enter the RUN command from the keyboard of the personal computer. (Keying
in CTRL+X will abort the program.)
Press the START/STOP switch. Press it again to stop the program.
If pin 1 of the front panel DIP switch is set to the ON position, the specified pro-
gram will be executed automatically when the Unit is turned ON or reset.
Use the monitor mode of the ASCII Unit for writing assembly language routines
to execute operations that cannot be processed with BASIC programs. The
ASCII Unit incorporates the Hitachi HD6303 CPU.
Assembly language routines can be written for the ASCII Unit and called from
the BASIC program with the USR statement. An assembly program can be
saved to the personal computer with the S command and loaded from the per-
sonal computer with the L command. Assembly programs are stored in the S
format.
Section 3-4

Advertisement

Table of Contents
loading

Table of Contents