Lines Matching refs:ax
37 movw $BOOTSEG, %ax
38 movw %ax,%ds
39 movw %ax,%es
40 movw %ax,%ss /* put stack at BOOTSEG:0x4000-12. */
62 movw %ax,%es /* ax is BOOTSECT (loaded above) */
100 movw %ax, sectors
103 xchgw %cx,%ax /* cx = track and sector */
107 movw $0x0201, %ax /* service 2, 1 sector */
118 movw $SYSSEG, %ax
119 movw %ax,%es /* segment of SYSSEG<<4 */
137 xorw %ax,%ax
138 movw %ax,%ds
165 movw %es,%ax
166 testw $0x0fff, %ax
170 movw %es,%ax
174 addw %dx,%ax
175 cmpw endseg, %ax /* have we loaded all yet? */
179 movw sectors, %ax
180 subw sread, %ax
181 movw %ax,%cx
186 xorw %ax,%ax
187 subw %bx,%ax
188 shrw $9, %ax
191 movw %ax,%cx
192 addw sread, %ax
193 cmpw sectors, %ax
195 movw $1, %ax
196 subw head, %ax
200 movw %ax, head
201 xorw %ax,%ax
203 movw %ax, sread
207 movw %es,%ax
209 movw %ax,%es
215 pushw %ax
218 movw $0x0e2e, %ax /* 0x2e = . */
223 popw %ax
237 pushw %ax
245 bad_rt: pushw %ax /* save error code */
278 movw $0xe05+0x41-1, %ax
309 movw $0xe0d, %ax /* CR */
366 pushw %ax