TRegisters (type) (WinDos unit)

Language:
Русский
English

  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.

 type
   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);
   end;

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

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