Hex dump

Hex dump

Hex dump is a hexadecimal view (on screen or a printout) of computer memory. Each byte (8-bits) is represented as a two-digit hexadecimal number. Hex dumps are commonly organized into rows of 8 or 16 bytes, sometimes separated by whitespaces. Some hex dumps have the hexadecimal memory address at the beginning and checksum byte at the end of each line.

amples

A sample partial hex dump of a program:

00105e0 e6b0 0804 e79e 0804 e7bc 0804 e7d5 0804 00105f0 e7e4 0804 e6b0 0804 e7f0 0804 e7ff 0804 0010600 e80b 0804 e81a 0804 e6b0 0804 e6b0 0804

Above example, however, represents an ambiguous form of hex dump, as byte order cannot be concluded. Such hex dumps are good only in the context of well-known byte order standard or when values are intentionally given in their full form (and may result in variable number of bytes), such as:

00105e0 e6 b008 04e79e08 04e7bc 08 04 e7 d50804

When explicit byte sequence is required (for example for hex dump of machine code programs or ROM content) a byte-by-byte representation is favoured, commonly organized in 16-byte rows with an optional divider between 8-byte groups:

00105e0 e6 b0 08 04 e7 9e 08 04 - e7 bc 08 04 e7 d5 08 04 00105f0 e7 e4 08 04 e6 b0 08 04 - e7 f0 08 04 e7 ff 08 04 0010600 e8 0b 08 04 e8 1a 08 04 - e6 b0 08 04 e6 b0 08 04

Sometimes condensed form is also used, without whitespaces between values:

00105e0 e6b00804e79e0804e7bc0804e7d50804 00105f0 e7e40804e6b00804e7f00804e7ff0804 0010600 e80b0804e81a0804e6b00804e6b00804

Often an additional column show the corresponding ASCII text translation:

0000: FF D8 FF E0 00 10 4A 46 49 46 00 01 02 01 00 48 ......JFIF.....H0010: 00 48 00 00 FF ED 0A 96 50 68 6F 74 6F 73 68 6F .H......Photosho0020: 70 20 33 2E 30 00 38 42 49 4D 04 04 07 43 61 70 p 3.0.8BIM...Cap

When hex dumps are intended to be manually entered into a computer, such as was the case with print magazine articles of home computer era a checksum byte (or two) would be added at the end of each row, commonly calculated as simple 256 modulo of sum of all values in the row or a more sophisticated CRC. This checksum would be used to determine whether users entered the row correctly or not.

External links

* [http://mark0.net/hexdump.html Online Hex Dump]


Wikimedia Foundation. 2010.

Игры ⚽ Нужен реферат?

Look at other dictionaries:

  • Dump —   [dt. »Müllhalde«, »Auflistung«], ein Speicherauszug, bei dem i. d. R. eine Datei oder der Inhalt des Arbeitsspeichers als Folge von Hexadezimalzahlen dargestellt werden (»Hex Dump«). Ein solcher Auszug dient nach einem Programm oder… …   Universal-Lexikon

  • HEX — Hexadecimal (Computing » Assembly) Hexadecimal (Computing » Security) Hexadecimal (Computing » Software) Hexadecimal (Computing » Telecom) Hexadecimal (Miscellaneous » Unit Measures) Hexadecimal (Computing » Networking) ** Hex dump (Computing »… …   Abbreviations dictionary

  • .hex — hex,   Erweiterung für Dateien, die einen hexadezimalen Auszug (Hexdump, Dump) eines Speicherabschnitts enthalten …   Universal-Lexikon

  • Core dump — A core dump gets its name from an old memory technology using tiny magnetic cores, shown here at 50x magnification. In computing, a core dump (more properly a memory dump or storage dump) consists of the recorded state of the working memory of a… …   Wikipedia

  • Nibble — This article is about the information storage unit. For other uses, see Nibble (disambiguation). A character table ordered by nibbles. In computing, a nibble (often nybble or even nyble to simulate the spelling of byte) is a four bit… …   Wikipedia

  • Binary file — binaries redirects here. For double stars, see Binary star. .bin redirects here. For The CD image format, see Disk image. A hex dump of the 318 byte Wikipedia favicon, or …   Wikipedia

  • Список расширений имени файла/H — / * A B C D E F G H I J K L M N O P Q R S T U V W X Y Z Примечание: Поскольку расширение имени файла может быть любым, представленный список не является полным …   Википедия

  • Debug (command) — Infobox Software name = Debug author = Tim Paterson developer = Microsoft operating system = DOS, MS DOS, OS/2, Microsoft Windows genre = Debugger website = [http://technet.microsoft.com/en us/library/bb491040.aspx Debug] debug is a command in… …   Wikipedia

  • debug (command) — This article is about a shell command. For programming method, see Debugging. Debug Original author(s) Tim Paterson Developer(s) Microsoft Operating system DOS, MS DOS, OS/2, Microsoft …   Wikipedia

  • Booting — This article is about bootstrapping operating systems. For the general concept, see Bootstrapping. For other uses, see Booting (disambiguation). In computing, booting (also known as booting up) is a process that begins when a user turns on a… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”