Last active
August 29, 2015 14:03
-
-
Save pastagatsan/cdd37bbe6a0d0d06606f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[BITS 16] | |
[ORG 0x7C00] | |
mov si, cat | |
jmp printstr | |
printstr: | |
lodsb | |
cmp al, 0 | |
jz hang | |
mov ah, 0x0e | |
int 10h | |
jmp printstr | |
hang: | |
jmp hang | |
cat db "%plebos>", 0 | |
times 510 - ($-$$) db 0 | |
dw 0xAA55 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment