I'm using the listings environment to syntax highlight some code. I'd like to be able to highlight just a single line of the code, perhaps with a boxed outline, or a different background colour.
Code: Select all
\begin{lstlisting}
start:$
mov r1, xF0 -- Reset ptr value$
mov r2, x00 -- Reset total value$
\end[lstlisting}
Code: Select all
'mov r1, xF0 -- Reset ptr value'
Does anyone know if this possible, and if so, how it is done?
Many thanks
Andy