From 8bb23d8a25d4ea78d941c86f1f29e6b42e237b1f Mon Sep 17 00:00:00 2001 From: Ain <41307858+nero@users.noreply.github.com> Date: Sun, 31 Mar 2019 12:44:07 +0000 Subject: [PATCH] Remove whacky print_inline --- lib/print.asm | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/lib/print.asm b/lib/print.asm index 4fa482e..dda25a1 100644 --- a/lib/print.asm +++ b/lib/print.asm @@ -33,25 +33,3 @@ print16: xchg ah,al call print8 ret - -; print a inline following its call opcode -; the string ends with a nullbyte -; trashes si -print_inline: - pop si - push ax - push bx - mov bx, 0x0000 -.loop: - lodsb - cmp al, 0x00 - je .end - mov ah, 0x0e - int 0x10 - cmp al, 0x0D - jmp .loop -.end: - pop bx - pop ax - push si - ret