Home | History | Annotate | Download | only in stage2

Lines Matching refs:ax

33   ax,dx,cx,bx,si,di,bp,sp,st,st1,st2,st3,st4,st5,st6,st7,arg
118 xorw %ax, %ax
119 movw %ax, %ds
120 movw %ax, %ss
121 movw %ax, %es
235 movw %ax, (%di)
257 movw $0x5300, %ax
264 movw $0x5304, %ax
269 movw $0x5301, %ax
275 movw $0x530E, %ax
282 movw $0x5307, %ax
320 movw $SCRATCHSEG, %ax
321 movw %ax, %es
330 /* FIXME: this can be simplified not to use AX */
332 popw %ax
333 orw $0x100, %ax
334 pushw %ax
337 movw $0x0201, %ax
375 pushw %ax
382 movw 4(%bp), %ax
383 movw %ax, %ds
432 xorw %ax, %ax
433 movw %ax, %ds
440 lodsw (%si), %ax
442 testw %ax, %ax
445 cmpw %ax, %dx
459 popw %ax
481 movw (%edi), %ax
482 movw %ax, ABS(int15_offset)
483 movw 2(%edi), %ax
484 movw %ax, ABS(int15_segment)
487 movw $ABS(int15_handler), %ax
488 movw %ax, (%edi)
489 xorw %ax, %ax
490 movw %ax, 2(%edi)
506 movw $ABS(int15_handler), %ax
507 cmpw %ax, (%edi)
509 xorw %ax, %ax
510 cmpw %ax, 2(%edi)
514 movw ABS(int15_offset), %ax
515 movw %ax, (%edi)
516 movw ABS(int15_segment), %ax
517 movw %ax, 2(%edi)
555 movw %ax, %dx
561 xorw %ax, %ax
562 movw %ax, %ds
570 testw %ax, %ax
578 /* restore %ax */
579 movw %dx, %ax
630 movw (%edi), %ax
631 movw %ax, ABS(int13_offset)
632 movw 2(%edi), %ax
633 movw %ax, ABS(int13_segment)
639 movw (%edi), %ax
646 movw %ax, 2(%edi)
671 pushw %ax
682 lodsw %cs:(%si), %ax
684 testw %ax, %ax
694 /* save %ax in the stack */
695 pushw %ax
698 /* set %ax and %bp to the original values */
699 movw 2(%bp), %ax
709 /* save %ax */
710 pushw %ax
712 movw (%bp), %ax
713 movw %ax, 0xc(%bp)
715 movw 6(%bp), %ax
716 cmpw $0x8, %ax
718 cmpw $0x15, %ax
721 movw 2(%bp), %ax
722 testw %ax, %ax
727 popw %ax
756 movw 0x4(%esp), %ax
757 movw %ax, segment
792 movw 0x4(%esp), %ax
793 movw %ax, segment
853 movw $PROT_MODE_DSEG, %ax
854 movw %ax, %ds
855 movw %ax, %es
856 movw %ax, %fs
857 movw %ax, %gs
858 movw %ax, %ss
898 movw $PSEUDO_RM_DSEG, %ax
899 movw %ax, %ds
900 movw %ax, %es
901 movw %ax, %fs
902 movw %ax, %gs
903 movw %ax, %ss
926 movw %ax, %ds
927 movw %ax, %es
928 movw %ax, %fs
929 movw %ax, %gs
930 movw %ax, %ss
942 * int biosdisk_int13_extensions (int ax, int drive, void *dap)
944 * Call IBM/MS INT13 Extensions (int 13 %ax=AX) for DRIVE. DAP
958 movw %ax, %si
959 xorw %ax, %ax
961 movw %ax, %cx /* save the segment to cx */
965 /* ax */
971 movw %bx, %ax
976 xorw %ax, %ax
977 movw %ax, %ds
1012 shrw $2, %ax
1022 movw %ax, %di
1032 movw %di, %ax
1038 xorw %ax, %ax
1210 xorw %ax, %ax
1219 movw $SCRATCHSEG, %ax
1220 movw %ax, %es
1222 movw $0x0201, %ax
1303 * Both have the return value in AX.
1327 movw %ax, %bx
1332 movw %bx, %ax
1346 * AX = memory between 1M and 16M in 1K parts.
1358 movw $0xe801, %ax
1362 movw %ax, %bx
1471 movw $0xc0, %ax
1490 movw %dx, %ax
1523 movw $0x4F00, %ax
1526 movw %ax, %bx
1565 movw $0x4F01, %ax
1568 movw %ax, %bx
1600 movw $0x4F02, %ax
1603 movw %ax, %bx
1632 movw $0x2400, %ax
1635 incw %ax
1704 mov %cs, %ax
1705 mov %ax, %ds
1706 mov %ax, %es
1707 mov %ax, %fs
1708 mov %ax, %gs
1854 pushw %ax
1866 movw $0x0e0d, %ax
1878 popw %ax
1932 testw %ax, %ax
1934 /* load the ascii code into %ax */
1935 movw %ax, %bx
1941 movw %ax, %dx
1963 testw %ax, %ax
1999 movw %ax, %dx /* real_to_prot uses %eax */
2006 movw %dx, %ax
2037 movw %ax, %dx
2146 movw $0x0920, %ax
2181 movw console_cursor_shape, %ax
2182 testw %ax, %ax
2271 /* %ax is already zero */
2279 movw %dx, %ax