All,
Please can you somebody post the syntax for the hexdump function...
HexDump PROTO :DWORD,:DWORD,:DWORD
Thanks
Please can you somebody post the syntax for the hexdump function...
HexDump PROTO :DWORD,:DWORD,:DWORD
Thanks
I'm not sure if hexdump would do what I need, but what am looking for is to dump the hexvalues from certain blocks of memory - say from X to Y. So they appear the same as they are in the memory.... like the one attached... I need the same set of values from the memory to be printed on the console...
Thanks
Thanks
Each byte (8 bits) can be thought of as two 4-bit values aka nybbles.
Each 4 bit value can be from 0 to 15, ie 0 to F in hexadecimal.
To convert a byte value into hexadecimal, split it into two 4-bit values, and print out the character associated with each possible value.. if its less than ten, print a number... ten or more, print a thru f.
Try doing it yourself :)
Its worth noting that the wsprintf function can do what you want, but its not as fun or educational as writing your own function.
Each 4 bit value can be from 0 to 15, ie 0 to F in hexadecimal.
To convert a byte value into hexadecimal, split it into two 4-bit values, and print out the character associated with each possible value.. if its less than ten, print a number... ten or more, print a thru f.
Try doing it yourself :)
Its worth noting that the wsprintf function can do what you want, but its not as fun or educational as writing your own function.