Htonl - Examples of Storing The Value 0A0B0C0Dh in Memory

Examples of Storing The Value 0A0B0C0Dh in Memory

Note that hexadecimal notation is used.

To illustrate the notions this section provides example layouts of the 32-bit number 0A0B0C0Dh in the most common variants of endianness. There exist several digital processors that use other formats, but these two are the most common in general processors. That is true for typical embedded systems as well as for general computer CPU(s). Most processors used in non CPU roles in typical computers (in storage units, peripherals etc.) also use one of these two basic formats, although not always 32-bit of course.

All the examples refer to the storage in memory of the value.

Read more about this topic:  Htonl

Famous quotes containing the words examples of, examples, storing and/or memory:

    Histories are more full of examples of the fidelity of dogs than of friends.
    Alexander Pope (1688–1744)

    Histories are more full of examples of the fidelity of dogs than of friends.
    Alexander Pope (1688–1744)

    Computers are good at swift, accurate computation and at storing great masses of information. The brain, on the other hand, is not as efficient a number cruncher and its memory is often highly fallible; a basic inexactness is built into its design. The brain’s strong point is its flexibility. It is unsurpassed at making shrewd guesses and at grasping the total meaning of information presented to it.
    Jeremy Campbell (b. 1931)

    The memory loaded with mere bookwork is not the thing wanted—is, in fact, rather worse than useless—in the teacher of scientific subjects. It is absolutely essential that his mind should be full of knowledge and not of mere learning, and that what he knows should have been learned in the laboratory rather than in the library.
    Thomas Henry Huxley (1825–95)