anotherbrick
Full Member level 4

- Joined
- Jan 10, 2009
- Messages
- 213
- Helped
- 1
- Reputation
- 2
- Reaction score
- 1
- Trophy points
- 1,298
- Location
- Istanbul , Turkey
- Activity points
- 3,105
I am trying to compile this code with VC++6.0
but it gives error at this line
-----------------
mov ecx,cs error C2443: operand size conflict
-----------------
isnt the ECX and CS all 32 bit in pentium ?
why it gives error ?
Code:
__asm{
mov bl,9
mov ax,0204h
int 31h
mov dword ptr [oldint09+0],edx
mov word ptr [oldint09+4],cx
mov ecx,cs
mov edx,offset int09
mov ax,0205h
int 31h }
-----------------
mov ecx,cs error C2443: operand size conflict
-----------------
isnt the ECX and CS all 32 bit in pentium ?
why it gives error ?