DumpMem PROC

   Writes a range of memory to standard output in hexadecimal.

Call args:  ESI = starting offset
            ECX = number of units
            EBX = bytes/unit (1,2,or 4)

Return arg: None

Example: Dump a word array

.data
array WORD 8,9,10,11,0FFFFh

.code
      mov  esi,OFFSET array
      mov  ecx,LENGTHOF array ;5
      mov  ebx,TYPE array     ;2
      call DumpMem

Output:

Dump of offset 00404000
-------------------------------
0008 0009 000A 000B FFFF
Note: The mDumpMem macro causes a call to this procedure.
Converted from CHM to HTML with chm2web Pro 2.85 (unicode)