18 lines
190 B
NASM
18 lines
190 B
NASM
|
[org 0x7c00]
|
||
|
|
||
|
boot:
|
||
|
mov bx, HELLO_WORLD2
|
||
|
call println
|
||
|
|
||
|
jmp $ ; Halt
|
||
|
|
||
|
; Boot sector libs
|
||
|
|
||
|
|
||
|
; Boot sector data
|
||
|
|
||
|
|
||
|
; Boot sector padding and magic number
|
||
|
times 510-($-$$) db 0
|
||
|
dw 0xaa55
|