Is there some sort of program that allows you to see Machine code and C++ code side by side like how Netwide Assembler does it?
For example
machine code here #include <iostream>
machine code here int main() {
machine code here cout << "Hello, World!";
}
and how NASM does it
1 section .text
2 global _start
3
4 _start:
5 00000000 66B804000000 mov eax,4
6 00000006 66BB01000000 mov ebx,1
7 0000000C 66B9[00000000] mov ecx,message
8 00000012 66BA0D000000 mov edx,len
9
10 00000018 CD80 int 0x80
11
12 0000001A 66B801000000 mov eax,1
13
14 00000020 CD80 int 0x80
15
16 section .data
17 00000000 48656C6C6F2C20576F- message db "Hello, World!"
17 00000009 726C6421
18 len equ $-message