TRegisters (type) (WinDos unit)


  TRegisters (type)     (WinDos unit)

The Intr and MsDos procedures use variables of type TRegisters to specify the input register contents and examine the output register contents of a software interrupt.

   TRegisters = record
     case Integer of
     0: (AX, BX, CX, DX, BP, SI, DI, DS, ES, Flags: Word);
     1: (AL, AH, BL, BH, CL, CH, DL, DH: Byte);

Notice the use of a variant record to map the 8-bit registers on top of their 16-bit equivalents.

Тэги: TRegisters
| G+
Код для вставки: :: :: :: ::
Поделиться: // //