Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Turbo Basic - <b>call absolute invoke assembly subroutine</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
CALL ABSOLUTE            Invoke Assembly Subroutine

 CALL ABSOLUTE address[(parmlist)]

    Transfers control to an assembly language subroutine.

     address    A numeric expression in the range -32768 to 65535;
                specifies the offset of the assembly routine within the
                segment defined by the most recent DEF SEG. Negative
                values are converted to positive using two's complement.

    parmlist    One or more parameters separated by commas. Only integers
                may be passed.

   --------------------------------------------------------------------------

      Notes:    Turbo Basic's register buffer is loaded into the
                processor's registers just before the assembly routine is
                invoked and is restored immediately after the routine
                finishes. Registers may be set and read via the REG
                statement and REG function.

                The register buffer does not store DS, BP, SS, and SP. The
                programmer is responsible for preserving these registers.

See Also: CALL CALL INTERRUPT REG

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson