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

 CALL ABSOLUTE ([arglist,]intvar)

    Transfers control and (optionally) passes parameters to an assembly
    language subroutine.

     arglist    Specifies one or more parameters to be passed to the
                subroutine. Parameters must be separated by commas. Array
                parameters should be specified by the array name followed
                by empty parentheses.

      intvar    An integer variable. Specifies the address of the
                subroutine as an offset within the current code segment.

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

      Notes:    Your program should execute a DEF SEG statement before
                calling the subroutine to ensure the code segment is
                correct (or put the subroutine in DGROUP).

                QuickBASIC uses 4-byte string descriptors, while
                interpreted BASIC uses 3-byte descriptors. An assembly
                subroutine that uses string arguments may therefore need
                to be modified if it was originally written to run with an
                interpreted program.

See Also: CALL CALLS

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