INT 21 - DOS 2+ - GET EXIT CODE OF SUBPROGRAM (WAIT)             

Input

DOS1 N DOS2 Y

DOS3

Y DOS5 Y

Output

AX

4Dh   Termination Exit Code AX

BX

        BX

CX

        CX

DX

        DX

ES:DI

    CF
Termination:    0 = Terminate/abort
                1 = Control-C
                2 = Hard error
                3 = Terminate and stay resident

See Also 31h 4Ch


Copyright © 1985 to 2022 Beta Systems                            Last modified: Wednesday, January 05, 2022 .