Outils pour utilisateurs

Outils du site


back2root:ibm-pc-ms-dos:interrupts:int_21:int_21_31

Table des matières

INT 0x21 - 0x31 - Terminate Process and Remain Resident

Request/Call:

reg value descr
AH 0x31
AL 0x?? Exit Code
DX 0x?? Memory size in paragraphs to reserve

Return:

Nothing

Notes & Comments

  1. preferred method for Terminate and Stay Resident programs
  2. terminates process without releasing allocated memory and without closing open files
  3. attempts allocation of memory specified in DX from memory allocated by DOS at startup. INT 21h - 48h memory allocation is not affected
  4. See INT 27h

Back

back2root/ibm-pc-ms-dos/interrupts/int_21/int_21_31.txt · Dernière modification : 2024/08/11 11:23 de frater