How to Assign High & Low Registers for CALL INTERRUPT, INT86 (27287)
The information in this article applies to:
- Microsoft Visual Basic for MS-DOS
- Microsoft QuickBASIC 4.0
- Microsoft QuickBASIC 4.0b
- Microsoft QuickBASIC 4.5
- Microsoft BASIC Compiler for MS-DOS and OS/2 6.0
- Microsoft BASIC Compiler for MS-DOS and OS/2 6.0b
- Microsoft Basic Professional Development System for MS-DOS 7.0
- Microsoft Basic Professional Development System for MS-DOS 7.1
This article was previously published under Q27287 SUMMARY
When you invoke MS-DOS and BIOS interrupts from Visual Basic for
MS-DOS, you pass full-word (two-byte) register variables such as AX,
instead of the half registers AH (high byte of AX) and AL (low byte
of AX). This article describes how to assign or read half registers
before or after calling the interrupt routines.
This information applies to CALL INT86OLD and CALL INTERRUPT in
the Standard and Professional Editions of Microsoft Visual Basic for
MS-DOS version 1.0; to Microsoft QuickBasic for MS-DOS versions 4.0,
4.0b, and 4.5; to Microsoft Basic Compiler for MS-DOS versions 6.0
and 6.0b; and to Microsoft Basic Professional Development System (PDS)
for MS-DOS versions 7.0 and 7.1. This information also applies to
CALL INT86 and CALL PTR86 in Microsoft QuickBasic for MS-DOS versions
2.0, 2.01, and 3.0.
This information is also included with the Help file provided with
the Standard and Professional Editions of Microsoft Visual Basic
for MS-DOS, version 1.0.
Modification Type: | Minor | Last Reviewed: | 8/16/2005 |
---|
Keywords: | KB27287 |
---|
|