diff options
Diffstat (limited to 'stdio.asm')
-rw-r--r-- | stdio.asm | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -218,6 +218,9 @@ printf: .parse_control: lodsb ; get next byte + cmp al, 't' ; TAB + je .do_TAB + cmp al, 'n' ; new line je .do_LF @@ -226,6 +229,11 @@ printf: jmp .do_default + .do_TAB: + mov ax, ASCII_TAB + call putc + jmp .main_string + .do_LF: mov ax, ASCII_CR ; home the line call putc |