\documentclass[border=2pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{chains, scopes}
\begin{document}
\ExplSyntaxOn
\seq_new:N \l_olStckEx_hex_seq
\cs_generate_variant:Nn \seq_put_right:Nn {Ne}
\NewDocumentCommand{\hexgen}{m} {
\int_step_inline:nn {#1} {
\int_set:Nn \l_tmpa_int {\int_rand:nn {0}{255}}
\int_compare:nNnTF {\l_tmpa_int} < {16}
{\tl_set:Nn \l_tmpa_tl {0\int_to_Hex:n {\l_tmpa_int}}}
{\tl_set:Nn \l_tmpa_tl {\int_to_Hex:n {\l_tmpa_int}}}
\seq_put_right:Ne \l_olStckEx_hex_seq {\l_tmpa_tl}
}}
\NewDocumentCommand{\gethex}{m}{\seq_item:Nn \l_olStckEx_hex_seq {#1+1}}
\ExplSyntaxOff
\hexgen{19}
\let\randHexBytes\gethex
\newcommand{\randHexWord}[1]{\gethex{#1+0}\,\gethex{#1+1}\,\gethex{#1+2}\,\gethex{#1+3}}
\begin{tikzpicture}[
font=\sffamily,
node distance = 0mm and 20mm,
start chain = R going below,
N/.style = {draw,fill=yellow!20,
minimum height=5mm,
outer sep=0pt, text opacity=1, align=center}
]
\begin{scope}[nodes=on chain=D]
\tikzset{
minimum width={width("0xAA BB CC DD")+2pt}
}
\foreach \r in {0,1,...,15}{
\ifnum\r<7
\node[on chain=R, N] {\texttt{0x\randHexWord{\r}}};
\else
\ifnum\r=9
\node[on chain=R, N, text=blue] {\texttt{0xAA}};
\else
\node[on chain=R, N] {\texttt{0x\randHexWord{\r}}};
\fi
\fi
}
\end{scope}
\node[above] at (R-1.north west) {MSB};
\node[above] at (R-1.north east) {LSB};
\node[N] at (R-16) {\#3: \texttt{\texttt{0x\randHexWord{3}}}};
\end{tikzpicture}
\end{document}