This commit is contained in:
julianb0 2019-06-17 21:06:33 +02:00
parent 149bf5b7e0
commit c6779c0ea2
No known key found for this signature in database
GPG Key ID: DDF8325C95299A62
1 changed files with 7 additions and 2 deletions

View File

@ -13,11 +13,16 @@ putc:
; int printf(const char *fmt, ...)
;
printf:
enter 0
mov ax2, ax0
mov ax0, putc
mov ax1, STRLEN_MAX
lea ax3, b[rsp+8]
jmp _doprnt
lea ax3, b[rbp+16]
call _doprnt
leave
ret
;
; Print a string