Lines Matching refs:bx
424 push bx
428 mov bx, 6[bp] ; offset local
429 mov ax, [bx]
430 add bx, #2
431 mov dx, [bx]
435 pop bx
452 push bx
456 mov bx, 6[bp] ; offset
458 mov [bx], ax ; write data word
459 add bx, #2
461 mov [bx], ax ; write data word
463 pop bx
479 and bx,2[di]
488 adc bx,2[di]
508 sbb bx,2[di]
527 dec dword ptr [bx]
536 or bx,2[di]
543 inc dword ptr [bx]
589 idiv bx
594 div bx
603 mov bx, 2[di]
606 mov bx, [di]
785 Bit16u bx, dx, cx, ax;
802 Bit16u bx, filler5, dx, filler6, cx, filler7, ax, filler8;
1280 push bx
1284 mov bx, 6[bp] ; offset
1285 mov al, [bx]
1288 pop bx
1303 push bx
1307 mov bx, 6[bp] ; offset
1308 mov ax, [bx]
1311 pop bx
1328 push bx
1332 mov bx, 6[bp] ; offset
1334 mov [bx], al ; write data byte
1336 pop bx
1354 push bx
1358 mov bx, 6[bp] ; offset
1360 mov [bx], ax ; write data word
1362 pop bx
1443 push bx
1446 xor bx,bx
1448 pop bx
3853 regs.u.r16.bx = 3;
3889 write_word( 0x40, 0x9A, regs.u.r16.bx ); // Byte location, offset
3985 mov bx, sp
3987 mov cx, _int15_function.CX [bx]
4102 regs.u.r16.bx = BIOS_CONFIG_TABLE;
4119 (unsigned) regs.u.r16.ax, (unsigned) regs.u.r16.bx);
4407 mouse_driver_offset = regs.u.r16.bx;
4436 (unsigned) regs.u.r16.ax, (unsigned) regs.u.r16.bx);
4494 mov bx, sp
4496 mov ax, _int15_function32.CX [bx]
4499 mov ax, _int15_function32.DX [bx]
4559 switch(regs.u.r16.bx)
4651 regs.u.r16.bx = regs.u.r16.dx;
4661 (unsigned) regs.u.r16.ax, (unsigned) regs.u.r16.bx);
6460 ;; store temp bx in real DI register
6483 ;; store real DI register back to temp bx
6600 ;; store temp bx in real SI register
6623 ;; store real SI register back to temp bx
6788 mov bx, _int13_harddisk.hd_cylinders + 2 [bp]
6789 dec bx ;; use (cylinders - 1) ???
6790 mul ax, bx ;; dx:ax = (cylinders -1) * (heads * sectors)
8058 push bx
8065 xor bx, bx ;; offset
8079 pop bx
8147 xor bx, bx
8148 mov ds, bx
8149 mov es, bx
8150 mov bp, bx
8164 …BX_DEBUG_INT1A("int1a: AX=%04x BX=%04x CX=%04x DX=%04x DS=%04x\n", regs.u.r16.ax, regs.u.r16.bx, r…
8494 push bx
8512 pop bx
8531 pop bx
8537 push bx
8545 pop bx
8555 push bx
8592 push bx
8596 pop bx
8631 mov bx, #IPL_SEG
8632 mov ds, bx ;; Set segment
8633 mov bx, IPL_SEQUENCE_OFFSET ;; BX is now the sequence number
8634 inc bx ;; ++
8635 mov IPL_SEQUENCE_OFFSET, bx ;; Write it back
8639 push bx
8661 mov bx, #IPL_SEG
8662 mov ds, bx ;; Set segment to write to the IPL memory
8848 mov bx, ax ;; BX = cylinders
8860 cmp bx, #1024
8866 mov (0x003d + 0x00), bx ;; number of physical cylinders
8873 mov (0x003d + 0x09), bx ;; number of physical cylinders
8880 cmp bx, #2048
8883 shr bx, #0x01
8888 cmp bx, #4096
8891 shr bx, #0x02
8896 cmp bx, #8192
8899 shr bx, #0x03
8905 shr bx, #0x04
8909 mov (0x003d + 0x00), bx ;; number of physical cylinders
8992 mov bx, ax ;; BX = cylinders
9004 cmp bx, #1024
9010 mov (0x004d + 0x00), bx ;; number of physical cylinders
9017 mov (0x004d + 0x09), bx ;; number of physical cylinders
9024 cmp bx, #2048
9027 shr bx, #0x01
9032 cmp bx, #4096
9035 shr bx, #0x02
9040 cmp bx, #8192
9043 shr bx, #0x03
9049 shr bx, #0x04
9053 mov (0x004d + 0x00), bx ;; number of physical cylinders
9314 mov bx, #0x0210
9324 xor bx, bx
9336 inc bx
9337 cmp bx, #0x0100
9344 xor bx, bx
9357 inc bx
9358 cmp bx, #0x0100
9455 mov ax, bx
9494 mov bx, #0x0210
9508 xor bx, bx
9520 inc bx
9521 cmp bx, #0x0100
9530 xor bx, bx
9543 inc bx
9544 cmp bx, #0x0100
9650 mov bx, #(1 << 9) | (1 << 11) ;; irq 9 and 11 are used
9675 mov ax, bx
9786 mov ax, bx
9804 mov bx, #0x0008
9871 inc bx
9872 cmp bx, #0x0100
9918 push bx ;; save irq router bus + devfunc
9959 mov bx, ax
9960 mov al, [si+bx]
9962 mov bx, [bp]
9970 mov bx, [bp-2] ;; pci irq list pointer
9971 mov al, [bx]
9973 inc bx
9974 mov [bp-2], bx
9994 pop bx
10127 push bx
10128 shl bx, #1
10129 mov [bx+0x408], dx ; Parallel I/O address
10130 pop bx
10131 mov [bx+0x478], cl ; Parallel printer timeout
10132 inc bx
10153 push bx
10154 shl bx, #1
10155 mov [bx+0x400], dx ; Serial I/O address
10156 pop bx
10157 mov [bx+0x47c], cl ; Serial timeout
10158 inc bx
10166 push bx
10169 xor bx, bx
10174 add al, [bx]
10175 inc bx
10179 pop bx
10223 xor bx, bx ;; Restore DS back to 0000:
10224 mov ds, bx
10249 mov bx, 0x001a ;; 0x1A is the offset into ROM header that contains...
10250 mov ax, [bx] ;; the offset of PnP expansion header, where...
10253 mov ax, 2[bx]
10257 mov ax, 0x16[bx] ;; 0x16 is the offset of Boot Connection Vector
10266 mov bx, #0xf000
10267 mov es, bx
10280 mov ax, 0x1a[bx] ;; 0x1A is also the offset into the expansion header of...
10285 mov di, 0x10[bx] ;; Pointer to the product name string or zero if none
10286 mov bx, #IPL_SEG ;; Go to the segment where the IPL table lives
10287 mov ds, bx
10288 mov bx, IPL_COUNT_OFFSET ;; Read the number of entries so far
10289 cmp bx, #IPL_TABLE_ENTRIES
10291 shl bx, #0x4 ;; Turn count into offset (entries are 16 bytes)
10292 mov 0[bx], #IPL_TYPE_BEV ;; This entry is a BEV device
10293 mov 6[bx], cx ;; Build a far pointer from the segment...
10294 mov 4[bx], ax ;; and the offset
10297 mov 0xA[bx], cx ;; Build a far pointer from the segment...
10298 mov 8[bx], di ;; and the offset
10300 shr bx, #0x4 ;; Turn the offset back into a count
10301 inc bx ;; We have one more entry now
10302 mov IPL_COUNT_OFFSET, bx ;; Remember that.
10411 push bx
10455 xor bx, bx ;; offset index
10461 mov [bx], ax
10462 add bx, #2
10463 mov [bx], dx
10464 add bx, #2
10533 mov bx, #0x001E
10534 mov 0x041A, bx
10537 mov 0x041C, bx
10540 mov bx, #0x001E
10541 mov 0x0480, bx
10544 mov bx, #0x003E
10545 mov 0x0482, bx
10562 xor bx, bx
10568 shl bx, #0x0e
10571 or ax, bx ; set number of parallel ports
10577 xor bx, bx
10587 shl bx, #0x09
10590 or ax, bx ; set number of serial port
10800 mov bx, #0xf000
10801 mov ds, bx
10825 mov bx, #0x0040
10826 mov ds, bx
10830 mov bx, 0x001a
10831 cmp bx, 0x001c
10846 mov bx, #0xf000
10847 mov ds, bx
10912 mov bx, #0xf000
10913 mov ds, bx