日期:2014-05-16 浏览次数:20607 次
.code16 .globl _start _start: mov $BootMessage, %ax mov %ax, %bp mov $16, %cx mov $0x1301, %ax mov $0x0c, %bx mov $0, %dl int $0x10 ret tBootMessage: .ascii "Hello" fill: .rept 510 + _start -fill .byte 0 .endr .word 0xaa55