Lines Matching refs:CX
995 #define SET_CL(val8) CX = ((CX & 0xff00) | (val8))
999 #define SET_CH(val8) CX = ((CX & 0x00ff) | ((val8) << 8))
1004 #define GET_CL() ( CX & 0x00ff )
1008 #define GET_CH() ( CX >> 8 )
2952 insw ;; CX words transfered from port(DX) to ES:[DI]
2957 insd ;; CX dwords transfered from port(DX) to ES:[DI]
3104 outsw ;; CX words transfered from port(DX) to ES:[SI]
3110 outsd ;; CX dwords transfered from port(DX) to ES:[SI]
3238 outsw ;; CX words transfered from port(DX) to ES:[SI]
3369 insw ;; CX words transfered tp port(DX) to ES:[DI]
3374 insd ;; CX dwords transfered to port(DX) to ES:[DI]
3825 Bit16u CX,DX;
3981 CX = regs.u.r16.cx;
3987 mov cx, _int15_function.CX [bx]
4022 movsw ;; move CX words from DS:SI to ES:DI
4477 Bit16u CX,DX;
4487 CX = regs.u.r16.cx;
4496 mov ax, _int15_function32.CX [bx]
4669 int16_function(DI, SI, BP, SP, BX, DX, CX, AX, FLAGS)
4670 Bit16u DI, SI, BP, SP, BX, DX, CX, AX, FLAGS;
4675 BX_DEBUG_INT16("int16: AX=%04x BX=%04x CX=%04x DX=%04x \n", AX, BX, CX, DX);
4945 int09_function(DI, SI, BP, SP, BX, DX, CX, AX)
4946 Bit16u DI, SI, BP, SP, BX, DX, CX, AX;
5212 int13_harddisk(EHAX, DS, ES, DI, SI, BP, ELDX, BX, DX, CX, AX, IP, CS, FLAGS)
5213 Bit16u EHAX, DS, ES, DI, SI, BP, ELDX, BX, DX, CX, AX, IP, CS, FLAGS;
5223 …BX_DEBUG_INT13_HD("int13_harddisk: AX=%04x BX=%04x CX=%04x DX=%04x ES=%04x\n", AX, BX, CX, DX, ES);
5365 CX = lba_low >> 16;
5375 CX=0x0007; // ext disk access and edd, removable supported
5621 int13_cdrom(EHBX, DS, ES, DI, SI, BP, ELDX, BX, DX, CX, AX, IP, CS, FLAGS)
5622 Bit16u EHBX, DS, ES, DI, SI, BP, ELDX, BX, DX, CX, AX, IP, CS, FLAGS;
5630 BX_DEBUG_INT13_CD("int13_cdrom: AX=%04x BX=%04x CX=%04x DX=%04x ES=%04x\n", AX, BX, CX, DX, ES);
5689 CX=0x0007; // ext disk access, removable and edd
5975 int13_eltorito(DS, ES, DI, SI, BP, SP, BX, DX, CX, AX, IP, CS, FLAGS)
5976 Bit16u DS, ES, DI, SI, BP, SP, BX, DX, CX, AX, IP, CS, FLAGS;
5980 …BX_DEBUG_INT13_ET("int13_eltorito: AX=%04x BX=%04x CX=%04x DX=%04x ES=%04x\n", AX, BX, CX, DX, ES);
6045 int13_cdemu(DS, ES, DI, SI, BP, SP, BX, DX, CX, AX, IP, CS, FLAGS)
6046 Bit16u DS, ES, DI, SI, BP, SP, BX, DX, CX, AX, IP, CS, FLAGS;
6056 BX_DEBUG_INT13_ET("int13_cdemu: AX=%04x BX=%04x CX=%04x DX=%04x ES=%04x\n", AX, BX, CX, DX, ES);
6302 int13_harddisk(EHAX, DS, ES, DI, SI, BP, ELDX, BX, DX, CX, AX, IP, CS, FLAGS)
6303 Bit16u EHAX, DS, ES, DI, SI, BP, ELDX, BX, DX, CX, AX, IP, CS, FLAGS;
6322 …BX_DEBUG_INT13_HD("int13 harddisk: AX=%04x BX=%04x CX=%04x DX=%04x ES=%04x\n", AX, BX, CX, DX, ES);
6480 insw ;; CX words transfered from port(DX) to ES:[DI]
6621 outsw ;; CX words tranfered from ES:[SI] to port(DX)
6793 ;; and then into CX:DX on the stack
6794 mov _int13_harddisk.CX + 2 [bp], dx
7147 int13_diskette_function(DS, ES, DI, SI, BP, ELDX, BX, DX, CX, AX, IP, CS, FLAGS)
7148 Bit16u DS, ES, DI, SI, BP, ELDX, BX, DX, CX, AX, IP, CS, FLAGS;
7157 …BX_DEBUG_INT13_FL("int13_diskette: AX=%04x BX=%04x CX=%04x DX=%04x ES=%04x\n", AX, BX, CX, DX, ES);
7685 CX = 0;
7714 CX = 0;
7719 CX = 0x2709; // 40 tracks, 9 sectors
7724 CX = 0x4f0f; // 80 tracks, 15 sectors
7729 CX = 0x4f09; // 80 tracks, 9 sectors
7734 CX = 0x4f12; // 80 tracks, 18 sectors
7739 CX = 0x4f24; // 80 tracks, 36 sectors
7744 CX = 0x2708; // 40 tracks, 8 sectors
7749 CX = 0x2709; // 40 tracks, 9 sectors
7754 CX = 0x2708; // 40 tracks, 8 sectors
7844 int13_diskette_function(DS, ES, DI, SI, BP, ELDX, BX, DX, CX, AX, IP, CS, FLAGS)
7845 Bit16u DS, ES, DI, SI, BP, ELDX, BX, DX, CX, AX, IP, CS, FLAGS;
8573 ;; DS, ES, DI, SI, BP, ELDX, BX, DX, CX, AX, IP, CS, FLAGS
10243 pop cx ;; Pop seg value (restore CX)
10276 pop cx ;; Pop seg value (restore CX)