Call |
Previous Next |
Call <RoutineLabel> [, <Argument> [, <Argument> [, ...n]]]
|
Part
|
Description
|
<RoutineLabel>
|
Required. This is the line label of the assembly routine to jump to.
This label cannot be any keywords that are used by SecondBASIC.
|
<Argument>
|
Optional. The arguments passed to the routine are stored in the
heap which stored in register A5. <Integer> and <Long> data types
are stored as 4 byte <Long> numbers, and <String> data types are
pushed onto the stack and is null terminated. If the address is odd,
an additional null character is added.
|
' Requires \slibrary\example.s and \slibrary.example.var
Import Example
Call ExamplePrint, "Hello World"
|