Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Tom Rettigs Library - call _memdump with <memory variable name> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 CALL _MEMDUMP WITH <memory variable name>
 Displays memory representation of variables in hexadecimal and ASCII form.

 Useful for seeing how operations on variables affect their representation
 in memory.  Especially valuable in analyzing and debugging numeric
 accuracy problems owing to floating-point representation.

 m_num1 = 123.45
 CALL _MEMDUMP WITH m_num1

 * Screen displays:
 40BB:0032  CD CC CC CC CC DC 5E 40 00 00 00 00 00 00 00 00  MLLLL@........
 40BB:0042  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 40BB:0052  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 40BB:0062  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 40BB:0072  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 40BB:0082  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 40BB:0092  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 40BB:00A2  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................

 * Screen displays ASCII values to the right of the hex display.
 Non-printable characters display a period as they do with DEBUG.


             Placed in the Public Domain by Tom Rettig Assoc.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson