mirror of
https://gitlab.os-k.eu/os-k-team/kvisc.git
synced 2023-08-25 14:05:46 +02:00
printf
This commit is contained in:
parent
149bf5b7e0
commit
c6779c0ea2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user