Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
44 lines (34 sloc) 938 Bytes
initcode.o: file format elf32-i386
Disassembly of section .text:
00000000 <start>:
#include "traps.h"
# exec(init, argv)
.globl start
start:
pushl $argv
0: 68 24 00 00 00 push $0x24
pushl $init
5: 68 1c 00 00 00 push $0x1c
pushl $0
a: 6a 00 push $0x0
movl $SYS_exec, %eax
c: b8 09 00 00 00 mov $0x9,%eax
int $T_SYSCALL
11: cd 30 int $0x30
00000013 <exit>:
# for(;;) exit();
exit:
movl $SYS_exit, %eax
13: b8 02 00 00 00 mov $0x2,%eax
int $T_SYSCALL
18: cd 30 int $0x30
jmp exit
1a: eb f7 jmp 13 <exit>
0000001c <init>:
1c: 2f das
1d: 69 6e 69 74 00 00 90 imul $0x90000074,0x69(%esi),%ebp
00000024 <argv>:
24: 1c 00 sbb $0x0,%al
26: 00 00 add %al,(%eax)
28: 00 00 add %al,(%eax)
...