Chapter 7 BASIC Language for the 3458A 263
DIV, MOD, ABS, SQR, LOG, EXP, LGT, SIN, COS, ATN
Binary Operations: AND, OR, EXOR, NOT, BINAND, BINCMP, BINEOR,
BINIOR, BIT, ROTATE, SHIFT
Subprogram
Definition/Deletion
SUB sub_name Identifies where the subprogram begins and assigns the name
to the subprogram.
SUBEND sub_name Identifies where the subprogram ends and also
terminates the entry of the subprogram.
DELSUB sub_name Deletes the specified subprogram from internal
memory.
SCRATCH Deletes (scratches) all 3458A subprograms, variables, and
arrays from internal memory.
CAT Lists the names of all 3458A subprograms, simple variables, stored
states, and arrays that are presently stored in internal memory (limited to 400
characters).
LIST sub_name Lists the specified subprogram (limited to 400 characters).
COMPRESS sub_name Removes the text of the specified subprogram from
memory.
Subprogram
Execution
Commands
CALL sub_name Executes the named subprogram and waits for completion
before executing other commands.
PAUSE Pauses the most recent subprogram executed with the CALL
command.
CONT Resumes subprogram execution after a PAUSE command is
executed.
Looping and
Branching
FOR counter =initial_value TO final-value [STEP step_size]
NEXT counter
WHILE expression
ENDWHILE
IF expression THEN
[ ELSE ]
ENDIF
Binary Programs CALLARRAY array name, integer_list Fetches the internal address of the
specified array and begins execution there.
The array must have been previously loaded with data (converted to ASCII)
using the FILL command. The binary data must be Motorola 68000
executable code written using relative addressing.