main.o: file format elf64-x86-64 Disassembly of section .text: 0000000000000000 <main>: int main(void) { 0: 55 push %rbp 1: 48 89 e5 mov %rsp,%rbp int a = 1; 4: c7 45 f4 01 00 00 00 movl $0x1,-0xc(%rbp) int b = 2; b: c7 45 f8 02 00 00 00 movl $0x2,-0x8(%rbp) int c = a + b; 12: 8b 55 f4 mov -0xc(%rbp),%edx 15: 8b 45 f8 mov -0x8(%rbp),%eax 18: 01 d0 add %edx,%eax 1a: 89 45 fc mov %eax,-0x4(%rbp) ret
![バイナリを逆アセンブルして中を覗いてみた](https://cdn-ak-scissors.b.st-hatena.com/image/square/52c4899466843ad2ebb7b9dd8c2d652aa120d262/height=288;version=1;width=512/https%3A%2F%2Fcorgi-lab.com%2Fblog%2Fwp-content%2Fuploads%2F2016%2F08%2Fsource.jpg)