As shown in Listing \ref{lst:dummylocalxmega} and Listing \ref{lst:dummylocalstm}, in the case of an implementation where dummy operations use local variables, it does not find a part corresponding to the dummy Sbox operations in the assembly code.
It is presumed that the compiler (WinAVR 4.3.3) provided by ChipWhisperer-Lite(CW1173) judged as operations irrelevant to the output of SubBytes function in the optimization
\setcounter{lstlisting}{0}
\renewcommand{\thelstlisting}{2.\arabic{lstlisting}}
\begin{minipage}[H]{.45\textwidth}
\lstinputlisting[language=nasm, style=nasm, caption=Assembly code for real operation when dummy operations uses local variables on the XMEGA128D4 microprocessor., label=lst:reallocalxmega]{asm_local_rl_XMEGA.asm}
\end{minipage}
\hfill
\begin{minipage}[H]{0.45\textwidth}
\lstinputlisting[language=nasm, style=nasm, caption=Assembly code for dummy operation when dummy operations uses local variables on the XMEGA128D4 microprocessor., label=lst:dummylocalxmega]{asm_local_dm_XMEGA.asm}
\end{minipage}
\setcounter{lstlisting}{0}
\renewcommand{\thelstlisting}{3.\arabic{lstlisting}}
\begin{minipage}[H]{.45\textwidth}
\lstinputlisting[language=nasm, style=nasm, caption=Assembly code for real operation when dummy operations uses local variables on the STM32F303 microprocessor., label=lst:reallocalstm]{asm_local_rl_STM.asm}
\end{minipage}
\hfill
\begin{minipage}[H]{0.45\textwidth}
\lstinputlisting[language=nasm, style=nasm, caption=Assembly code for dummy operation when dummy operations uses local variables on the STM32F303 microprocessor., label=lst:dummylocalstm]{asm_local_dm_STM.asm}
\end{minipage}
\hfill \break
process.
Nevertheless, the power consumption traces of the SubBytes function can be divided into 32 parts because the ord array referenced in the switch-case statement is not optimized.
Operations using unoptimized array are also not optimization targets, so a loop consisting of switch-case statements is performed, even though internal operations are not performed.
The above latex code creates a pdf as shown above picture.
In fact, the paragraph above the listings and the paragraph below are one paragraph.
But I want to force partition for efficient space utilization.
So I want to apply equally distribute to the last line of the paragraph above the listings.
What should I do?


[h]floats, can be placed mid-paragraph without disturbing the line breaking. – David Carlisle Aug 26 '21 at 09:57