1
0
mirror of https://gitlab.os-k.eu/os-k-team/kvisc.git synced 2023-08-25 14:05:46 +02:00
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

View File

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