Rpbasic-52 programming guide, Call – Remote Processing BASIC 52 User Manual
Page 27

RPBASIC-52 PROGRAMMING GUIDE
2-8
CALL
Syntax:
CALL address
Where: address = address of assembly language program from 0 to 65535
Function:
Calls an asse mbly lang uage program in external Progra m M emory
Mode:
Comm and, Run
Use:
CALL 16
Cards:
All
D E S C R IP T I ON
CALL instruction invokes an assembly language program. To return to Basic, you must execute a RET
instruction in the assembly language program. Original BASIC-52 code to multiply address by two and add
4100H was re mov ed.
Expressions a nd variables are n ot allowed for address ; it must be an explicit number. The assembly language
program m ust reside in externa l program m emory. R PBA SIC-52 occ upies internal progra m me mory
l o ca t io n s 0 t hr o ug h 6 FF F H .
RELATED
none
EXAMPLE
CALL 0
Performs soft power up reset