diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2018-05-26 10:56:12 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2018-05-26 10:56:12 -0400 |
commit | d11145e242c35e20ba43d68af3a58e050a0dcceb (patch) | |
tree | 33104b9f191b2c6dc417d2f44cb32a5d54556be2 | |
parent | ad1f51c1853f14aa96429c8d53a572769873e1eb (diff) | |
download | minos-d11145e242c35e20ba43d68af3a58e050a0dcceb.tar.gz |
Placeholder for s/uint formatters
-rw-r--r-- | stdio.asm | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -256,9 +256,15 @@ printf: cmp al, 'c' ; '%c' - process character je .do_char - cmp al, 'd' ; '%d' - process integer + cmp al, 'd' ; '%d' - process signed int je .do_int + cmp al, 'i' ; '%i' - process signed int + je .do_int + + cmp al, 'u' ; '%u' - process unsigned int + je .do_uint + cmp al, 'x' ; '%x' - process hexadecimal je .do_hex @@ -298,6 +304,7 @@ printf: jmp .parse_fmt_done .do_int: + .do_uint: mov ax, [bp] push cx push ax |