CALL¶
Implementation Note¶
⚠️ Not Implemented: This feature calls machine language (assembly) subroutines and is not implemented in this Python-based interpreter.
Behavior: Statement is parsed but no operation is performed
Why: Cannot execute machine code from a Python interpreter. CALL was used to invoke hand-written assembly language routines for performance-critical operations or hardware access.
Alternative: Use GOSUB to call BASIC subroutines, or DEF FN to define custom functions in BASIC. For related functionality, see USR (also not implemented).
Historical Reference: The documentation below is preserved from the original MBASIC 5.21 manual for historical reference.
Syntax¶
Purpose¶
To call an assembly language subroutine.
Remarks¶
The CALL statement is one way to transfer program flow to an assembly language subroutine. (See also the USR function, Section 3.40)