Lines Matching refs:dx
154 push %dx /* save drive number */
155 push %dx /* twice - for err_msg loop */
160 mov COM_PORT_VAL, %dx
163 outb %dx
259 pop %dx /* recover drive # */
260 push %dx /* save drive */
276 * by int 1a in cx:dx. We do sums modulo 2^16 so it doesn't matter if
286 mov %dx, %di /* start time to di */
289 mov COM_PORT_VAL, %dx
290 push %dx
291 add $5, %dx
292 inb %dx
293 pop %dx
296 inb %dx
310 int $0x1a /* current time to cx:dx */
311 sub %di, %dx
312 cmpw timeout, %dx /* always wait for 1 tick... */
333 pop %dx /* dump saved drive # */
388 pop %dx /* drive we errored on */
392 pop %dx /* original drive number */
393 push %dx
394 push %dx
430 pop %dx /* collect saved drive... */
431 push %dx /* ...number to dl */
447 shr $8, %dx /* last head */
448 inc %dx /* number of heads */
449 mul %dx
451 add %dx, %ax
454 pop %dx /* recover sector we want */
455 and $0x3f, %dx
456 add %dx, %ax
469 pop %dx
470 push %dx
489 pop %dx /* recover drive # */
491 push %dx /* save drive */
517 pop %dx /* recover drive # */
527 pop %dx /* recover drive # */