mirror of
https://github.com/cfenollosa/os-tutorial.git
synced 2024-10-27 20:34:19 +00:00
17 lines
261 B
NASM
17 lines
261 B
NASM
|
mov ah, 0x0e ; tty mode
|
||
|
mov al, 'H'
|
||
|
int 0x10
|
||
|
mov al, 'e'
|
||
|
int 0x10
|
||
|
mov al, 'l'
|
||
|
int 0x10
|
||
|
int 0x10 ; 'l' is still on al, remember?
|
||
|
mov al, 'o'
|
||
|
int 0x10
|
||
|
|
||
|
jmp $ ; jump to current address = infinite loop
|
||
|
|
||
|
; padding and magic number
|
||
|
times 510 - ($-$$) db 0
|
||
|
dw 0xaa55
|