Re: Problem on dos_interrupt.
>i have download Ralf Brown's Interrupt List and for example i want > to
>GET STATUS OF LAST OPERATION (Int 13/AH=01h) but how can i set > AH?
>dos_interrupt just have REG_AX to set, and what about CF?Also > it only
>have REG_CX in it.
ah is the high byte of ax (al is the low byte), so:
ax = al + (ah*256)
or, in this case:
ax = #0100
(assuming al should be 0)
I don't know what you mean by CF, did you misspell CL/CH? Or maybe you mean
the carry flag, if so, you should set REG_FLAGS to 1 (I'm just guessing
here).
>Another question:
>What are REG_DI, REG_SI,REG_BP,REG_BX, REG_DX,REG_CX,
>REG_AX, REG_FLAGS, REG_ES and REG_DS?
>Please help me...
DI = destination index
SI = source index
BP = base pointer (?)
AX, BX, CX and DX = main registers
FLAGS = flags
DS = default segment
ES = extra segment
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.
|
Not Categorized, Please Help
|
|