kernel.o: file format a.out-i386 Disassembly of section .text: 00000000 : 0: 31 c0 xor %eax,%eax 2: 8e c0 mov %eax,%es 4: 8e d8 mov %eax,%ds 6: 8e d0 mov %eax,%ss 8: 89 c4 mov %eax,%esp a: be bf 01 e8 c2 mov $0xc2e801bf,%esi f: 00 83 c4 c0 be 0f add %al,0xfbec0c4(%ebx) 00000013 : 13: be 0f 02 e8 b9 mov $0xb9e8020f,%esi 18: 00 89 e7 e8 c0 00 add %cl,0xc0e8e7(%ecx) 1e: e3 f3 jecxz 13 20: 89 e6 mov %esp,%esi 22: bf 11 02 e8 f3 mov $0xf3e80211,%edi 27: 00 74 30 89 add %dh,0xffffff89(%eax,%esi,1) 2b: e6 bf out %al,$0xbf 2d: 14 02 adc $0x2,%al 2f: e8 e9 00 74 2e call 2e74011d 34: 89 e6 mov %esp,%esi 36: bf 19 02 e8 df mov $0xdfe80219,%edi 3b: 00 74 24 89 add %dh,0xffffff89(%esp,1) 3f: e6 bf out %al,$0xbf 41: 1b 02 sbb (%edx),%eax 43: e8 d5 00 74 22 call 2274011d 48: 89 e6 mov %esp,%esi 4a: bf 20 02 e8 cb mov $0xcbe80220,%edi 4f: 00 74 27 be add %dh,0xffffffbe(%edi,1) 53: fc cld 54: 01 e8 add %ebp,%eax 56: 7a 00 jp 58 58: eb b9 jmp 13 0000005a : 5a: be ed 01 e8 72 mov $0x72e801ed,%esi 5f: 00 eb add %ch,%bl 61: b1 be mov $0xbe,%cl 00000062 : 62: be 23 02 e8 6a mov $0x6ae80223,%esi 67: 00 eb add %ch,%bl 69: a9 be 45 02 e8 test $0xe80245be,%eax 0000006a : 6a: be 45 02 e8 62 mov $0x62e80245,%esi 6f: 00 31 add %dh,(%ecx) 71: c0 cd 16 ror $0x16,%ch 74: ea 00 00 ff ff e8 ae ljmp $0xaee8,$0xffff0000 00000079 : 79: e8 ae 00 be 73 call 73be012c 7e: 02 e8 add %al,%ch 80: 50 push %eax 81: 00 e8 add %ch,%al 83: ff 00 incl (%eax) 85: fa cli 86: 0f 01 16 lgdtl (%esi) 89: d0 02 rolb (%edx) 8b: e4 92 in $0x92,%al 8d: 3c ff cmp $0xff,%al 8f: 74 08 je 99 91: 0c 02 or $0x2,%al 93: 24 fe and $0xfe,%al 95: e6 92 out %al,$0x92 97: eb 11 jmp aa 00000099 : 99: e8 1d 00 b0 d1 call d1b000bb 9e: e6 64 out %al,$0x64 a0: e8 16 00 b0 df call dfb000bb a5: e6 60 out %al,$0x60 a7: e8 0f 00 0f 20 call 200f00bb 000000aa : aa: 0f 20 c0 mov %cr0,%eax ad: 66 83 c8 01 or $0x1,%ax b1: 0f 22 c0 mov %eax,%cr0 b4: ea 37 01 08 00 e8 c8 ljmp $0xc8e8,$0x80137 000000b9 : b9: e8 c8 00 e4 64 call 64e40186 be: 3c ff cmp $0xff,%al c0: 74 0f je d1 c2: a8 01 test $0x1,%al c4: 74 07 je cd c6: e8 bb 00 e4 60 call 60e40186 cb: eb ec jmp b9 000000cd : cd: a8 02 test $0x2,%al cf: 75 e8 jne b9 000000d1 : d1: c3 ret 000000d2 : d2: b4 0e mov $0xe,%ah 000000d4 : d4: ac lods %ds:(%esi),%al d5: 84 c0 test %al,%al d7: 74 04 je dd d9: cd 10 int $0x10 db: eb f7 jmp d4 000000dd : dd: c3 ret 000000de : de: 31 c9 xor %ecx,%ecx 000000e0 : e0: 31 c0 xor %eax,%eax e2: cd 16 int $0x16 e4: 3c 08 cmp $0x8,%al e6: 74 11 je f9 e8: 3c 0d cmp $0xd,%al ea: 74 22 je 10e ec: 80 f9 3f cmp $0x3f,%cl ef: 74 ef je e0 f1: b4 0e mov $0xe,%ah f3: cd 10 int $0x10 f5: aa stos %al,%es:(%edi) f6: 41 inc %ecx f7: eb e7 jmp e0 000000f9 : f9: e3 e5 jecxz e0 fb: 4f dec %edi fc: c6 05 00 49 b4 0e cd movb $0xcd,0xeb44900 103: 10 b0 20 cd 10 b0 adc %dh,0xb010cd20(%eax) 109: 08 cd or %cl,%ch 10b: 10 eb adc %ch,%bl 10d: d2 c6 rol %cl,%dh 0000010e : 10e: c6 05 00 b8 0d 0e cd movb $0xcd,0xe0db800 115: 10 b0 0a cd 10 c3 adc %dh,0xc310cd0a(%eax) 0000011b : 11b: 8a 04 3a mov (%edx,%edi,1),%al 11e: 05 75 08 84 c0 add $0xc0840875,%eax 123: 74 04 je 129 125: 47 inc %edi 126: 46 inc %esi 127: eb f2 jmp 11b 00000129 : 129: c3 ret 0000012a : 12a: b8 00 06 31 c9 mov $0xc9310600,%eax 12f: ba 4f 17 b7 07 mov $0x7b7174f,%edx 134: cd 10 int $0x10 136: c3 ret 00000137 : 137: 66 b8 10 00 mov $0x10,%ax 13b: 8e d8 mov %eax,%ds 13d: 8e d0 mov %eax,%ss 13f: 8e c0 mov %eax,%es 141: 31 c0 xor %eax,%eax 143: 8e e0 mov %eax,%fs 145: 8e e8 mov %eax,%gs 147: bc 00 00 20 00 mov $0x200000,%esp 14c: e8 52 00 00 00 call 1a3 151: b4 01 mov $0x1,%ah 00000153 : 153: e8 2c 00 00 00 call 184 158: fe c4 inc %ah 15a: 80 e4 0f and $0xf,%ah 15d: be 94 02 00 00 mov $0x294,%esi 162: e8 26 00 00 00 call 18d 167: 81 3d bb 01 00 00 a0 cmpl $0xb8fa0,0x1bb 16e: 8f 0b 00 171: 72 e0 jb 153 173: c7 05 bb 01 00 00 00 movl $0xb8000,0x1bb 17a: 80 0b 00 17d: e8 7e fe ff ff call 0 182: eb fe jmp 182 00000184 : 184: bb ff ff 09 00 mov $0x9ffff,%ebx 00000189 : 189: 4b dec %ebx 18a: 75 fd jne 189 18c: c3 ret 0000018d : 18d: 8b 3d bb 01 00 00 mov 0x1bb,%edi 00000193 : 193: ac lods %ds:(%esi),%al 194: 84 c0 test %al,%al 196: 74 04 je 19c 198: 66 ab stos %ax,%es:(%edi) 19a: eb f7 jmp 193 0000019c : 19c: 89 3d bb 01 00 00 mov %edi,0x1bb 1a2: c3 ret 000001a3 : 1a3: bf 00 80 0b 00 mov $0xb8000,%edi 1a8: 89 3d bb 01 00 00 mov %edi,0x1bb 1ae: b9 e8 03 00 00 mov $0x3e8,%ecx 1b3: b8 20 07 20 07 mov $0x7200720,%eax 1b8: f3 ab repz stos %eax,%es:(%edi) 1ba: c3 ret 000001bb : 1bb: 00 80 0b 00 48 65 add %al,0x6548000b(%eax) 000001bf : 1bf: 48 dec %eax 1c0: 65 6e outsb %gs:(%esi),(%dx) 1c2: 6b 65 73 53 imul $0x53,0x73(%ebp),%esp 1c6: 6f outsl %ds:(%esi),(%dx) 1c7: 66 data16 1c8: 74 20 je 1ea 1ca: 30 2e xor %ch,(%esi) 1cc: 30 34 20 xor %dh,(%eax,1) 1cf: 28 76 65 sub %dh,0x65(%esi) 1d2: 72 73 jb 247 1d4: 69 6f 6e 20 66 72 6f imul $0x6f726620,0x6e(%edi),%ebp 1db: 6d insl (%dx),%es:(%edi) 1dc: 20 4d 61 and %cl,0x61(%ebp) 1df: 72 20 jb 201 1e1: 32 36 xor (%esi),%dh 1e3: 2c 20 sub $0x20,%al 1e5: 32 30 xor (%eax),%dh 1e7: 30 39 xor %bh,(%ecx) 1e9: 29 0d 0a 00 48 65 sub %ecx,0x6548000a 000001ed : 1ed: 48 dec %eax 1ee: 65 gs 1ef: 6c insb (%dx),%es:(%edi) 1f0: 6c insb (%dx),%es:(%edi) 1f1: 6f outsl %ds:(%esi),(%dx) 1f2: 20 57 6f and %dl,0x6f(%edi) 1f5: 72 6c jb 263 1f7: 64 21 0d 0a 00 43 6f and %ecx,%fs:0x6f43000a 000001fc : 1fc: 43 inc %ebx 1fd: 6f outsl %ds:(%esi),(%dx) 1fe: 6d insl (%dx),%es:(%edi) 1ff: 6d insl (%dx),%es:(%edi) 200: 61 popa 201: 6e outsb %ds:(%esi),(%dx) 202: 64 20 75 6e and %dh,%fs:0x6e(%ebp) 206: 6b 6e 6f 77 imul $0x77,0x6f(%esi),%ebp 20a: 6e outsb %ds:(%esi),(%dx) 20b: 2e cs 20c: 0d 0a 00 3e 00 or $0x3e000a,%eax 0000020f : 20f: 3e 00 68 69 add %ch,%ds:0x69(%eax) 00000211 : 211: 68 69 00 68 65 push $0x65680069 00000214 : 214: 68 65 6c 70 00 push $0x706c65 00000219 : 219: 3f aas ... 0000021b : 21b: 65 gs 21c: 78 69 js 287 21e: 74 00 je 220 00000220 : 220: 70 6d jo 28f ... 00000223 : 223: 43 inc %ebx 224: 6f outsl %ds:(%esi),(%dx) 225: 6d insl (%dx),%es:(%edi) 226: 6d insl (%dx),%es:(%edi) 227: 61 popa 228: 6e outsb %ds:(%esi),(%dx) 229: 64 fs 22a: 73 3a jae 266 22c: 20 68 69 and %ch,0x69(%eax) 22f: 2c 20 sub $0x20,%al 231: 68 65 6c 70 2c push $0x2c706c65 236: 20 3f and %bh,(%edi) 238: 2c 20 sub $0x20,%al 23a: 70 6d jo 2a9 23c: 2c 20 sub $0x20,%al 23e: 65 gs 23f: 78 69 js 2aa 241: 74 0d je 250 243: 0a 00 or (%eax),%al 00000245 : 245: 52 push %edx 246: 65 62 6f 6f bound %ebp,%gs:0x6f(%edi) 24a: 74 20 je 26c 24c: 73 74 jae 2c2 24e: 61 popa 24f: 72 74 jb 2c5 251: 73 20 jae 273 253: 6e outsb %ds:(%esi),(%dx) 254: 6f outsl %ds:(%esi),(%dx) 255: 77 2e ja 285 257: 20 45 6e and %al,0x6e(%ebp) 25a: 74 65 je 2c1 25c: 72 20 jb 27e 25e: 6b 65 79 73 imul $0x73,0x79(%ebp),%esp 262: 74 72 je 2d6 264: 6f outsl %ds:(%esi),(%dx) 265: 6b 65 2c 20 imul $0x20,0x2c(%ebp),%esp 269: 70 6c jo 2d7 26b: 65 gs 26c: 61 popa 26d: 73 65 jae 2d4 26f: 2e cs 270: 0d 0a 00 53 77 or $0x7753000a,%eax 00000273 : 273: 53 push %ebx 274: 77 69 ja 2df 276: 74 63 je 2db 278: 68 2d 6f 76 65 push $0x65766f2d 27d: 72 20 jb 29f 27f: 74 6f je 2f0 281: 20 50 72 and %dl,0x72(%eax) 284: 6f outsl %ds:(%esi),(%dx) 285: 74 65 je 2ec 287: 63 74 65 64 arpl %si,0x64(%ebp,2) 28b: 20 4d 6f and %cl,0x6f(%ebp) 28e: 64 fs 28f: 65 gs 290: 2e cs 291: 0d 0a 00 4f 53 or $0x534f000a,%eax 00000294 : 294: 4f dec %edi 295: 53 push %ebx 296: 20 63 75 and %ah,0x75(%ebx) 299: 72 72 jb 30d 29b: 65 6e outsb %gs:(%esi),(%dx) 29d: 74 6c je 30b 29f: 79 20 jns 2c1 2a1: 75 73 jne 316 2a3: 65 gs 2a4: 73 20 jae 2c6 2a6: 50 push %eax 2a7: 72 6f jb 318 2a9: 74 65 je 310 2ab: 63 74 65 64 arpl %si,0x64(%ebp,2) 2af: 20 4d 6f and %cl,0x6f(%ebp) 2b2: 64 65 2e 20 20 and %ah,%cs:%fs:%gs:(%eax) ... 000002b8 : ... 000002c0 : 2c0: ff (bad) 2c1: ff 00 incl (%eax) 2c3: 00 00 add %al,(%eax) 2c5: 9a cf 00 ff ff 00 00 lcall $0x0,$0xffff00cf 000002c8 : 2c8: ff (bad) 2c9: ff 00 incl (%eax) 2cb: 00 00 add %al,(%eax) 2cd: 92 xchg %eax,%edx 2ce: cf iret ... 000002d0 : 2d0: 18 00 sbb %al,(%eax) 000002d2 : 2d2: b8 02 00 00 90 mov $0x90000002,%eax 2d7: 90 nop Disassembly of section .data: