how write decimal number __asm

hello all ,
how write decimal number ,
error this line cmp eax,37000

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
void __declspec(naked) ourFunct()
{

	 
    __asm
    {

		mov esi,ecx
		cmp eax,37000 
		je codey
		jmp code
codey:
		mov eax,0
        jmp code
code:
        mov dword ptr ds:[esi],eax
        lea eax,dword ptr ds:[edi+4] 
		jmp jmpBackAddy
    }


	
}
Last edited on
what is the error?
eax isnt loaded at this point... what do you think is in it?

... normally decimal values would be using floating point unit commands (?) but for a basic straight up compare of bytes you can use integers. Ill trust you know what this is doing etc.

what are you trying to do here? It looks overly complex.
Last edited on
eax isnt loaded at this point beacuse it's hooking ,Thank you very much, I solved the problem
Topic archived. No new replies allowed.