<div dir="ltr"><div><br></div>Following a thread from a post in my feed led me to... Dynarmic - A dynamic recompiler for ARM.<div><div><a href="https://github.com/MerryMage/dynarmic">https://github.com/MerryMage/dynarmic</a> </div><div><br></div><div>and from there on to... VisUAL -  a highly visual ARM emulator</div><div><a href="https://salmanarif.bitbucket.io/visual/index.html">https://salmanarif.bitbucket.io/visual/index.html</a> <br></div><div>It seems only to do a subset of instructions, so maybe not practical for working with Cog,<br>but a few of the features could potentially aid debugging generated code...</div><div>* users can navigate program history by browsing past register values. This feature can help debugging and understanding complex code easier.</div><div>* Pointers in ARM assembly can be quite difficult to understand, especially since ARM assembly has 9 different variations of pointer behaviour when it comes to load/store instructions. VisUAL provides an information pane that displays useful pointer information when needed.</div><div>* Instructions to load/store multiple instructions in the form of a stack can be visualised. </div></div><div><br></div><div>cheers -ben</div></div>