Outils pour utilisateurs

Outils du site


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

Table des matières

Ceci est une ancienne révision du document !


INT 0x21 - 0x3e - Read Close File or Device Using Handle

Request/Call:

reg value descr
AH 0x3e
BX file handle

Return:

CF is cleared : success

reg descr
AX number of bytes readed

CF is set: error

reg descr
AX error code (see DOS Error Code)

Notes & Comments

  • read specified number of bytes from file into buffer DS:DX
  • when AX is not equal to CX then a partial read occurred due to end of file
  • if AX is zero, no data was read, and EOF occurred before read

Back

back2root/ibm-pc-ms-dos/interrupts/int_21/int_21_3e.1705252239.txt.gz · Dernière modification : 2024/01/14 18:10 de frater