diff options
Diffstat (limited to 'stdio.asm')
-rw-r--r-- | stdio.asm | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -182,6 +182,9 @@ printf: cmp al, '%' ; '%%' - just print the character je .do_percent_escape + cmp al, 'c' ; '%c' - proccess character + je .do_char + cmp al, 'd' ; '%d' - process integer je .do_int @@ -207,6 +210,11 @@ printf: call putc jmp .main_string + .do_char: + mov ax, [bp] + call putc + jmp .main_string + .do_hex: mov ax, [bp] call puthex |