/asm/boot/gas/boot2.S
http://github.com/dennis-gemini/tests · Assembly · 21 lines · 18 code · 3 blank · 0 comment · 0 complexity · 2fabd1abb19c784f9c740300932da346 MD5 · raw file
- .code16
- .text
- mov %cs, %ax
- mov %ax, %ds
- mov %ax, %es
- call DispStr
- jmp .
- DispStr:
- mov $BootMessage, %ax
- mov %ax, %bp
- mov $16, %cx
- mov $0x1301, %ax
- mov $0x000c, %bx
- mov $0, %dl
- int $0x10
- ret
- .org 510
- .word 0xaa55