I have a buffer with a file read into it, how would I take a dword of data from that buffer at say a 10 byte offset and set the data type to hex? - How make the dword compatible to this funtion? cld mov eax,00FF00FFh ;search pattern lea edi,bdw ;search the dword for 0FF00FFh mov ecx,SIZEOF bdw ;size of the dword repnz scasb ;find je found ;if found jump to found: .. found:
Posted on 2001-01-06 20:55:00 by moxy
i think you are a little confused with the data types in asm and the way information is stored in memory etc
Posted on 2001-01-06 22:21:00 by 870621345
exactly, can anyone care to explain?
Posted on 2001-01-07 02:30:00 by moxy
Try this: mov eax,dword ptr buffer
Posted on 2001-01-07 06:06:00 by Patrick