How can i conver string with hex number to DWORD?
Can some one help me?
Can some one help me?
NetGerty,
From the help for Masm32LIB:
htodw
htodw proc uses ebx ecx edi edx esi String:DWORD
Description
htodw receives as its parameter, the address of a zero terminated string containing hex characters and returns the value as a DWORD in eax.
farrier
From the help for Masm32LIB:
htodw
htodw proc uses ebx ecx edi edx esi String:DWORD
Description
htodw receives as its parameter, the address of a zero terminated string containing hex characters and returns the value as a DWORD in eax.
farrier
And Can you give ne an example?(i'm trying but it not work's!)
Try this: invoke htodw,ADDR szMyData
the double word value returned in eax register.
Btw, define MyData in .data section e.g. szMydata db "Hello",0
best regards,
czDrillard
the double word value returned in eax register.
Btw, define MyData in .data section e.g. szMydata db "Hello",0
best regards,
czDrillard