Lines Matching refs:ax

33 	push ax
36 pop ax
41 %macro WRITEHEX4 0-1 ax
42 %ifnidni %1,ax
43 push ax
44 mov ax,%1
46 pop ax
153 mov [cs:SavedAX],ax
154 mov ax,cs
155 mov ss,ax
184 mov ax,[cs:SavedAX]
202 push ax
205 mov ax,[bp+2] ; Flags
210 pop ax
224 mov ds,ax
225 mov es,ax
226 mov ax,[SavedAX]
243 mov di,ax
248 mov P_AX,ax
271 xor ax,ax ; Bottom of memory
272 mov es,ax
292 pop ax ; Drop return address
322 pop ax ; Drop return address
323 xor ax,ax ; Success...
327 xor ax,ax
328 mov es,ax
342 movzx ax,P_AL ; AH = 0, AL = transfer count
371 xor ax,ax ; Always successful
385 mov ax,[Cylinders]
386 dec ax ; We report the highest #, not the count
390 mov P_CX,ax
391 mov ax,[Heads]
392 dec ax
416 xor ax,ax
433 pop ax ; Drop return address
434 xor ax,ax ; Success
443 xor ax,ax
453 xor ax,ax
459 xor ax,ax
475 cmp cx,ax
477 mov cx,ax
480 mov ax,cx
486 xor ax,ax
490 mov ax,0100h
512 cmp di,ax
540 .overrun: pop ax ; Drop setup_regs return address
541 mov ax,0200h ; Missing address mark
570 mov ax,0900h ; "Data boundary error" - bogus, but
596 mov ax,0100h ; Invalid command
598 pop ax ; Drop setup_regs return address
602 mov ax,0200h ; "Address mark not found" =
607 pop ax
611 mov ax,0B200h ; Volume Not Removable
616 mov ax,[cs:SavedAX]
631 mov ax,0 ; Success
638 mov ax,100h ; Invalid parameter
696 cmp ax,0E820h
698 cmp ax,0E801h
700 cmp ax,0E881h
708 mov ax,[cs:Mem1MB]
709 mov cx,ax
723 mov ax,[cs:MemInt1588]
745 smsw ax ; Unprivileged!
773 xor ax,ax
774 mov ds,ax
775 dec ax
776 mov es,ax
778 mov ax,[0]
779 mov bx,ax
781 not ax
782 mov [0],ax
783 mov dx,ax
785 not ax
786 mov [0],ax
792 mov ax,2401h ; Enable A20
827 mov ax,2400h ; Disable A20