diff options
author | Lizzy Fleckenstein <eliasfleckenstein@web.de> | 2022-10-06 16:45:17 +0200 |
---|---|---|
committer | Lizzy Fleckenstein <eliasfleckenstein@web.de> | 2022-10-06 16:45:17 +0200 |
commit | f8397815545adb7d0da36614e0065aa68453a2e4 (patch) | |
tree | a771f526970c6724b2511577dceece8783450a49 /stage1/print.asm | |
download | cuddles-f8397815545adb7d0da36614e0065aa68453a2e4.tar.xz |
Initial commit
Diffstat (limited to 'stage1/print.asm')
-rw-r--r-- | stage1/print.asm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/stage1/print.asm b/stage1/print.asm new file mode 100644 index 0000000..3505eb6 --- /dev/null +++ b/stage1/print.asm @@ -0,0 +1,12 @@ +; uses eax, ebx +print_str: + mov ah, 0x0E +.print: + mov al, [ebx] + cmp al, 0 + je .return + int 0x10 + inc ebx + jmp .print +.return: + ret |