Michela Ceria edited subsection_Notations_for_bytes_In__.tex  about 6 years ago

Commit id: 858eae7142149c53c8a88b959f061a494d0d51e2

deletions | additions      

       

\hline  \end{tabular}  \end{center}  A nibble is the half of a byte, so that each byte can be represented by two hexadecimal digits, from $00000000$, which is $0$, to $11111111$, which is $FF$.  \\ Inparticular, in  order to convert from binary to hexadecimal notation we perform the following steps: \begin{itemize}  \item group the bits in nibbles from right to left;  \item convert each nibble in an hexadecimal digit as in the  

\item juxtapose the results.  \end{itemize}  \begin{Example}\label{BitHex}  The byte vector  $00010101$ is formed by the nibbles $0000$ $10101$ and we can represent it as $15$. We can represent $11100101$, with the notation $E5$.  \end{Example}  \begin{Exercise}\label{Nibbles-Hex}