Lines Matching refs:AX
19 ; values, which everybody returns in AX.
59 mov word ptr [bx],ax ; save the handle
60 xor ax,ax ; return zero for OK
92 xor ax,ax ; return zero for OK
123 mov ax,4200h ; absolute seek
126 xor ax,ax ; return zero for OK
160 cmp ax,word ptr [bp+12] ; make sure all bytes were read
162 mov ax,1 ; else return 1 for not OK
164 read_ok: xor ax,ax ; return zero for OK
198 cmp ax,word ptr [bp+12] ; make sure all bytes written
200 mov ax,1 ; else return 1 for not OK
202 write_ok: xor ax,ax ; return zero for OK
230 mov ax,4300h ; call multiplex interrupt with
235 xor ax,ax ; return a nil pointer
237 xmsavail: mov ax,4310h ; fetch driver address with
239 mov dx,es ; copy address to dx:ax
240 mov ax,bx
242 mov word ptr es:[bx],ax
259 ; The XMScontext structure contains values for the AX,DX,BX,SI,DS registers.
261 ; AX,DX,BX registers are written back to the context structure.
274 mov ax,word ptr es:[bx] ; load registers
282 mov word ptr es:[bx],ax ; put back ax,dx,bx
310 mov ax,3567h ; get interrupt vector 67h
320 mov ax,1 ; match, it's there
322 no_ems: xor ax,ax ; it's not there
340 ; The EMScontext structure contains values for the AX,DX,BX,SI,DS registers.
342 ; AX,DX,BX registers are written back to the context structure.
355 mov ax,word ptr es:[bx] ; load registers
363 mov word ptr es:[bx],ax ; put back ax,dx,bx