Jump to: navigation, search
Terminator code



Vim Disassembly Tip

Here's how to quickly see the assembler output of a C++ program in Vim

vim something.cpp

:set makeprg=g++\ -mpreferred-stack-boundary=2\ -S\ %
 └─ Define make program (preferred-stack-boundary option disables
    stack alignment boilerplate code in assembler output)

:vnew something.s
:set autoread

From this point on, you can see the assembler equivalent of your C++ code by running :make.

You can mark places in the code by writing something like this in your C++ code:


Pages in category "Assembler"

The following 7 pages are in this category, out of 7 total.