Skip to content

Instantly share code, notes, and snippets.

@fzn0x
Created July 12, 2024 23:29
Show Gist options
  • Save fzn0x/17218a40d58f009d7ecfe1ac6d4e615e to your computer and use it in GitHub Desktop.
Save fzn0x/17218a40d58f009d7ecfe1ac6d4e615e to your computer and use it in GitHub Desktop.
Write my first OS - Hello World (part 1) - bootloader.asm
[ORG 0x7C00]
mov ah, 0x0E
mov al, 'H'
int 0x10
mov al, 'e'
int 0x10
mov al, 'l'
int 0x10
mov al, 'l'
int 0x10
mov al, 'o'
int 0x10
mov al, ','
int 0x10
mov al, ' '
int 0x10
mov al, 'W'
int 0x10
mov al, 'o'
int 0x10
mov al, 'r'
int 0x10
mov al, 'l'
int 0x10
mov al, 'd'
int 0x10
mov al, '!'
int 0x10
jmp $
times 510 - ($-$$) db 0
dw 0xAA55
@fzn0x
Copy link
Author

fzn0x commented Jul 12, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment