
RPBASIC-52 PROGRAMMING GUIDE
2-8
CALL
Syntax: CALL address
Where: address = address of assembly language program from 0 to 65535
Function: Calls an assembly language program in external Program M emory
Mode: Command, Run
Use: CALL 16
Cards: All
DESCRIPTION
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 moved.
Expressions and variables are not allowed for address; it must be an explicit number. The assembly language
program m ust reside in external program m emory. R PBASIC-52 occ upies internal program memory
locations 0 through 6FFFH.
RELATED
none
EXAMPLE
CALL 0 Performs soft power up reset
Komentáře k této Příručce