Lines Matching refs:mov
82 mov ax, offs
83 mov ds:[vec*4], ax
84 mov ax, segm
85 mov ds:[vec*4+2], ax
204 mov al, PIC_CMD_EOI
207 mov al, PIC_CMD_EOI
216 mov [bx], ax
217 mov [bx+2], dx
227 mov ds, ax
246 mov al, 1
253 mov al, 0Fh
267 mov al, ah
282 mov al, 0Fh
284 mov al, 0
289 mov al, ah
302 mov al, 0C0h
304 mov al, 0
309 mov al, ah
335 mov ax, 7800h
336 mov sp, ax
338 mov ds, ax
339 mov ss, ax
343 mov es, ax
346 mov cx, 0472h / 2
350 mov cx, (1000h - 0472h - 2) / 2
360 mov es, bx
362 mov cx, 8000h ; 32K words
366 mov es, bx
368 mov cx, 7FF8h ; all but the last 16 bytes
380 mov ds, bx
381 mov cx, 60h ; leave the rest as zeros
382 mov ax, dummy_iret
383 mov dx, BIOSSEG
389 mov bx, 68h * 4
390 mov cx, 10h
394 mov ax, BASE_MEM_IN_K
395 mov ds:[413h], ax
420 mov al, 34h ; timer 0, binary, 16-bit, mode 2
422 mov al, 0 ; max count -> ~18.2 Hz
434 mov ds, ax
436 mov ds:[417h], al ; keyboard shift flags, set 1
437 mov ds:[418h], al ; keyboard shift flags, set 2
438 mov ds:[419h], al ; keyboard Alt-numpad work area
439 mov ds:[471h], al ; keyboard Ctrl-Break flag
440 mov ds:[497h], al ; keyboard status flags 4
441 mov al, 10h
442 mov ds:[496h], al ; keyboard status flags 3
444 mov bx, 1Eh
445 mov ds:[41Ah], bx ; keyboard buffer head
446 mov ds:[41Ch], bx ; keyboard buffer tail
447 mov ds:[480h], bx ; keyboard buffer start
448 mov bx, 3Eh
449 mov ds:[482h], bx ; keyboard buffer end
452 mov al, 14h
455 mov ds:[410h], al
462 mov ax, 0C000h
463 mov dx, 0C800h
473 mov ds, ax
475 mov cl, 14h ; timeout value
476 mov dx, 378h ; parallel port 1
478 mov dx, 278h ; parallel port 2
481 mov ax, ds:[410h] ; equipment word
484 mov ds:[410h], ax ; store in BDA
491 mov cl, 0Ah ; timeout value
492 mov dx, 3F8h ; first serial address
494 mov dx, 2F8h ; second serial address
496 mov dx, 3E8h ; third serial address
498 mov dx, 2E8h ; fourth serial address
501 mov ax, ds:[410h] ; equipment word
504 mov ds:[410h], ax
534 mov ds, ax
536 mov ds:[474h], al ; last HD operation status
537 mov ds:[477h], al ; HD port offset (XT only???)
538 mov ds:[48Ch], al ; HD status register
539 mov ds:[48Dh], al ; HD error register
540 mov ds:[48Eh], al ; HD task complete flag
541 mov al, 0C0h
542 mov ds:[476h], al ; HD control byte
590 mov ax, 0C800h
591 mov dx, 0F000h
614 mov ax, 40h
615 mov ds, ax
617 mov ss, ds:[69h]
618 mov sp, ds:[67h]
629 mov bp, sp
632 mov [bp+15], al
765 mov al, 11h ; send init commands
768 mov al, 08h ; base 08h
770 mov al, 70h ; base 70h
772 mov al, 04h ; master PIC
774 mov al, 02h ; slave PIC
776 mov al, 01h
779 mov al, 0B8h ; unmask IRQs 0/1/2/6
781 mov al, 08Fh
794 mov ax, EBDA_SEG
795 mov ds, ax
796 mov byte ptr ds:[0], EBDA_SIZE
799 mov ds, ax
800 mov word ptr ds:[40Eh], EBDA_SEG
831 mov bx, 40h ; TODO: why 40h here and 0 elsewhere?
832 mov ds, bx
835 mov bx, ds:[1Ah]
843 mov ax, 9002h
858 mov ax, 9202h
884 mov al, KBDC_DISABLE
887 mov al, 0Bh
898 mov ah, 4Fh
909 mov ds, ax
910 mov al, ds:[496h] ; mf2_state |= 0x02
912 mov ds:[496h], al
919 mov ds, ax ; TODO: haven't we just done that??
920 mov al, ds:[496h]
922 mov ds:[496h], al ; TODO: why not RMW?
938 mov al, KBDC_ENABLE
1111 mov al, 0AAh
1119 mov [bx+408h], dx ; parallel I/O address
1121 mov [bx+478h], cl ; parallel printer timeout
1133 mov al, 2
1149 mov [bx+400h], dx ; serial I/O address
1151 mov [bx+47Ch], cl ; serial timeout
1168 mov ds, ax
1172 mov al, 0
1173 mov ds:[43Eh], al ; drive 0/1 uncalibrated, no IRQ
1174 mov ds:[43Fh], al ; motor status
1175 mov ds:[440h], al ; motor timeout counter
1176 mov ds:[441h], al ; controller status return code
1177 mov ds:[442h], al ; hd/floppy ctlr status register
1178 mov ds:[443h], al ; controller status register 1
1179 mov ds:[444h], al ; controller status register 2
1180 mov ds:[445h], al ; cylinder number
1181 mov ds:[446h], al ; head number
1182 mov ds:[447h], al ; sector number
1183 mov ds:[448h], al ; bytes written
1185 mov ds:[48Bh], al ; configuration data
1187 mov al, 10h ; floppy drive type
1190 mov ah, al ; save drive type byte
1196 mov bl, 7 ; drv0 determined, multi-rate, chgline
1200 mov bl, 0 ; no drive 0
1203 mov al, ah ; restore CMOS data
1208 mov ds:[48Fh], bl ; store in BDA
1211 mov al, 0
1212 mov ds:[490h], al ; drv0 media state
1213 mov ds:[491h], al ; drv1 media state
1214 mov ds:[492h], al ; drv0 operational state
1215 mov ds:[493h], al ; drv1 operational state
1216 mov ds:[494h], al ; drv0 current cylinder
1217 mov ds:[495h], al ; drv1 current cylinder
1219 mov al, 2
1247 mov al, 0
1251 mov edx, 18206507
1253 mov ebx, 1000000
1256 mov ecx, eax ; total ticks in ecx
1260 mov al, 2
1264 mov edx, 10923904
1266 mov ebx, 10000
1273 mov al, 4
1277 mov edx, 65543427
1279 mov ebx, 1000
1284 mov ds:[46Ch], ecx ; timer tick count
1286 mov ds:[470h], al ; rollover flag
1301 mov dx, 3F4h
1306 mov dx, 3F5h
1307 mov al, 08h ; sense interrupt
1310 mov dx, 3F4h ; TODO: move out of the loop?
1317 mov dx, 3F5h ; TODO: inc/dec dx instead
1319 mov dx, 3F4h
1328 mov ds, ax
1455 mov bp, sp
1456 mov ax, [bp+2] ; TODO: redundant? address via sp?
1461 mov ds, ax
1462 mov ax, 1234h
1463 mov ds:[472], ax
1472 mov bp, sp
1475 mov ax, 1
1484 mov ax, 2
1493 mov ax, 3
1502 mov ax, 4
1512 ;; mov dl, bl ; tell guest OS what boot drive is
1515 mov [bp+2], ax ; set ip
1520 mov [bp+4], ax ; set cs
1522 mov ds, ax
1523 mov es, ax
1524 mov [bp], ax ; TODO: what's this?!
1525 mov ax, 0AA55h ; set ok flag ; TODO: and this?
1544 mov ax, 40h
1545 mov ds, ax
1546 mov ax, ds:[13h]
1559 mov ax, 40h
1560 mov ds, ax
1561 mov ax, ds:[10h]
1619 mov bp, sp
1625 mov bp, sp
1671 mov ax, 40h
1672 mov ds, ax
1673 mov byte ptr ds:[8Eh], 0FFh
1746 mov ax, 40h
1747 mov ds, ax
1749 mov eax, ds:[6Ch] ; get ticks dword
1760 mov ds:[6Ch], eax
1763 mov al, ds:[40h]
1767 mov ds:[40h], al
1770 mov dx, 03F2h