BBHEXD is a callable program with which you can display chunks of storage in hex.
Even if you don't want to use the program, the code might give you some ideas. Also if you search for "Bill O'Boyle" and HEX, "Dick Scherrer" and same, "Ronald Burr" and same, you'll find some other methods.
Basically, there's a lot of stuff out there. Google could have got you to something, always with the caveat that a certain amount of the "stuff out there" is rubbish