
#include "V.h"
/*
* This routine produces a hex dump of a chunk of memory; the msg  will  be  on
* the  start  of the first line of the dump.  The format is "3-line vertical".
* The first line is the printable ASCII; or '_' for unprintables.  The  second
* line is high-order hex digits.  The third line is low-order hex digits. This
* format is convenient, because it  puts  the  hex  code  directly  below  the
* character, making it easy to correlate them.
*/
global char *hex_as = 0;
global char *hex_hi = 0;
global char *hex_lo = 0;
global char hex_dig[] = "0123456789ABCDEF";
global Flag hex_base = 0;	/* 0: show offset; 1: show base address */
global int  hex_word = 8;	/* Word size in hex dumps */
global int  hex_fmt = '3';	/* Format: 3'='h' or '2'='v' or '1' */
global char Vblanks[] = "           ";	/* Is this long enough? */
