I am doing some reverse engineering, which means I will dig into assembly and explain sections of code next to the code in a diagram. An example of this approach is shown below.
Any one of the two styles above would do. Or something similar if available in LaTex package. Easier it is, the better.
Which package can I use in LaTex that will allow me to do this? Is it Tikz? Can I use smartdiagram? Can someone point me to a resource or sample code for this?


tcolorboxpackage – Biki Teron Feb 25 '18 at 08:14tikzmarkTikZ library that integrates it with thelistingspackage, initiated by https://tex.stackexchange.com/a/79787/86 (but see the package documentation for how to use it). – Andrew Stacey Feb 25 '18 at 09:18