Owner's manual

1 Publication 1746-RM001A-US-P
Appendix
B
BASIC Command, Statement, and CALL Quick
Reference Guide
Mnemonic List
Overview
The table below lists the various mnemonics found in this manual along with a
description and location.
Mnemonic Required PUSHes or POPs Description Active In
Command
Mode
Only
Page
ABS( ) Absolute value 3-9
ASC( ) Return integer value of ASCII character. 3-12
ATN( ) Return arctangent of argument. 3-8
BRKPNT Set program break point. * 4-2
CALL 14 PUSH [word number of module input buffer]
POP [converted value]
16-bit signed integer to BASIC floating-point 9-1
CALL 15 PUSH [word number of module input buffer]
POP [converted value]
16-bit unsigned integer to BASIC floating-point 9-2
CALL 16 PUSH [BASIC line number] Enable the interrupt capability when a DF1
packet is received.
8-2
CALL 17 None Disable the DF1 packet interrupt capability. 8-3
CALL 18 None Re-enable the
[CTRL-C] break function. 4-5
CALL 19 None Disable the
[CTRL-C] break function. 4-6
CALL 20 PUSH [BASIC line number] Enable the SLC processor interrupt capability. 8-3
CALL 21 None Disable the SLC processor interrupt capability. 8-4
CALL 22 PUSH [source port number]
PUSH [maximum number of characters to be
transferred]
PUSH [decimal value of character delimiter]
PUSH [selection of destination file and/or
string]
PUSH [word offset within the destination file]
PUSH [string number]
PUSH [byte swap selection]
POP [CALL 22 status]
Transfer data from PRT1 or PRT2 to the SLC I/O
or M files.
13-2
CALL 23 PUSH [destination port number and/or internal
string]
PUSH [selection of source file]
PUSH [word offset within source file]
PUSH [string number]
PUSH [byte swap selection]
POP [CALL 23 status]
Transfer data from the SLC I/O or M files to
PRT1 or PRT2.
12-2