I've looked around other threads for the answer. But none of them have really broken down what needs to be done in the ide to view the assembly output.
Try these after compiling your project:
objdump -d a.out
dumpbin /DISASM a.exe
Yes, NetBeans can show you an assembly code. For that you need:
-g
flag Editor
window and set a breakpoint (for example, on the main
function) Debug Project
button or just hitting Ctrl-F5
Window -> Debugging -> Disassembly
button, which becomes clickable only after you start the debugger The NetBeans will open a new window with assembly code next to the Editor
window with C++ source.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.