The Keeper
June 13th, 2002, 12:05
My problem is, i have:
int i=(x-(z*0x64))/0x0A;
and i need just the AL of i,
i debugged and saw
eax = result of int i=(x-(z*0x64))/0x0A;
mov [ebp-300], eax
so i simply added to my code
__asm mov [ebp-0x300], al;
I wonder if there is a way to get only the al part of i, without having to use inline asm, there must be but i dunno
if someone knows please tell me (c\c++)
thanks in advance.
int i=(x-(z*0x64))/0x0A;
and i need just the AL of i,
i debugged and saw
eax = result of int i=(x-(z*0x64))/0x0A;
mov [ebp-300], eax
so i simply added to my code
__asm mov [ebp-0x300], al;
I wonder if there is a way to get only the al part of i, without having to use inline asm, there must be but i dunno

thanks in advance.