Code: Select all
00001000 <main>:
1000: 55 push %ebp
1001: 89 e5 mov %esp,%ebp
1003: 83 ec 08 sub $0x8,%esp
1006: 83 e4 f0 and $0xfffffff0,%esp
1009: b8 00 00 00 00 mov $0x0,%eax
100e: 83 c0 0f add $0xf,%eax
1011: 83 c0 0f add $0xf,%eax
1014: c1 e8 04 shr $0x4,%eax
1017: c1 e0 04 shl $0x4,%eax
101a: 29 c4 sub %eax,%esp
101c: e8 14 00 00 00 call 1035 <k_clear_screen> (now proper)
1021: 83 ec 08 sub $0x8,%esp
1024: 6a 00 push $0x0
1026: 68 bc 10 00 00 push $0x10bc
102b: e8 0d 00 00 00 call 103d <k_printf>
1030: 83 c4 10 add $0x10,%esp
1033: eb fe jmp 1033 <main+0x33>
00001035 <k_clear_screen>:
1035: 55 push %ebp
1036: 89 e5 mov %esp,%ebp
1038: 83 ec 08 sub $0x8,%esp
103b: eb fe jmp 103b <k_clear_screen+0x6>