args.o: file format elf64-x86-64 Disassembly of section .text: 0000000000000000 <_start>: 0: 58 pop %rax 1: 5b pop %rbx 2: 48 83 f8 03 cmp $0x3,%rax 6: 75 7e jne 86 <_bad> 8: 5a pop %rdx 9: 59 pop %rcx a: e8 96 00 00 00 callq a5 <_length_entry> f: 48 89 0c 25 00 00 00 mov %rcx,0x0 16: 00 17: e8 b0 00 00 00 callq cc <_atoi_entry> 1c: e8 f0 00 00 00 callq 111 <_text_entry> 21: e8 51 00 00 00 callq 77 <_exit> 0000000000000026 <_output>: 26: 48 b8 01 00 00 00 00 movabs $0x1,%rax 2d: 00 00 00 30: 48 bf 01 00 00 00 00 movabs $0x1,%rdi 37: 00 00 00 3a: 48 8b 34 25 00 00 00 mov 0x0,%rsi 41: 00 42: 48 8b 14 25 00 00 00 mov 0x0,%rdx 49: 00 4a: 0f 05 syscall 000000000000004c <_newline>: 4c: 48 b8 01 00 00 00 00 movabs $0x1,%rax 53: 00 00 00 56: 48 bf 01 00 00 00 00 movabs $0x1,%rdi 5d: 00 00 00 60: 48 be 00 00 00 00 00 movabs $0x0,%rsi 67: 00 00 00 6a: 48 ba 01 00 00 00 00 movabs $0x1,%rdx 71: 00 00 00 74: 0f 05 syscall 76: c3 retq 0000000000000077 <_exit>: 77: 48 b8 3c 00 00 00 00 movabs $0x3c,%rax 7e: 00 00 00 81: 48 31 ff xor %rdi,%rdi 84: 0f 05 syscall 0000000000000086 <_bad>: 86: 48 c7 04 25 00 00 00 movq $0x0,0x0 8d: 00 00 00 00 00 92: 48 c7 04 25 00 00 00 movq $0x4a,0x0 99: 00 4a 00 00 00 9e: e8 83 ff ff ff callq 26 <_output> a3: eb d2 jmp 77 <_exit> 00000000000000a5 <_length_entry>: a5: 48 c7 04 25 00 00 00 movq $0x0,0x0 ac: 00 00 00 00 00 b1: eb 0b jmp be <_length_test> 00000000000000b3 <_length>: b3: 48 ff 04 25 00 00 00 incq 0x0 ba: 00 bb: 48 ff c1 inc %rcx 00000000000000be <_length_test>: be: 80 39 00 cmpb $0x0,(%rcx) c1: 75 f0 jne b3 <_length> c3: 48 2b 0c 25 00 00 00 sub 0x0,%rcx ca: 00 cb: c3 retq 00000000000000cc <_atoi_entry>: cc: 4d 31 c9 xor %r9,%r9 cf: 48 89 14 25 00 00 00 mov %rdx,0x0 d6: 00 00000000000000d7 <_atoi>: d7: 48 31 c0 xor %rax,%rax da: 4c 8b 14 25 00 00 00 mov 0x0,%r10 e1: 00 e2: 41 8a 02 mov (%r10),%al e5: 3c 00 cmp $0x0,%al e7: 74 1f je 108 <_atoi_exit> e9: 4e 8d 1c cd 00 00 00 lea 0x0(,%r9,8),%r11 f0: 00 f1: 4f 8d 0c 4b lea (%r11,%r9,2),%r9 f5: 2c 30 sub $0x30,%al f7: 3c 09 cmp $0x9,%al f9: 77 8b ja 86 <_bad> fb: 49 01 c1 add %rax,%r9 fe: 48 ff 04 25 00 00 00 incq 0x0 105: 00 106: eb cf jmp d7 <_atoi> 0000000000000108 <_atoi_exit>: 108: 4c 89 0c 25 00 00 00 mov %r9,0x0 10f: 00 110: c3 retq 0000000000000111 <_text_entry>: 111: 4d 31 e4 xor %r12,%r12 114: eb 08 jmp 11e <_text_mult_cmp> 0000000000000116 <_text_mult>: 116: e8 0b ff ff ff callq 26 <_output> 11b: 49 ff c4 inc %r12 000000000000011e <_text_mult_cmp>: 11e: 4d 39 cc cmp %r9,%r12 121: 0f 84 50 ff ff ff je 77 <_exit> 127: eb ed jmp 116 <_text_mult>