mirror of
https://gitlab.os-k.eu/os-k-team/kvisc.git
synced 2023-08-25 14:05:46 +02:00
syms
This commit is contained in:
parent
d6716d3112
commit
6f5a453fec
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,5 +1,6 @@
|
||||
*.exe
|
||||
*.out
|
||||
*.sym
|
||||
*.bin
|
||||
*.o
|
||||
*.d
|
||||
|
@ -3,9 +3,9 @@
|
||||
|
||||
;
|
||||
; typedef int (*PUTC)(int ch)
|
||||
; int _doprnt(PUTC putc, int n, const char *fmt, va_list ap)
|
||||
; int doprnt(PUTC putc, int n, const char *fmt, va_list ap)
|
||||
;
|
||||
_doprnt:
|
||||
doprnt:
|
||||
enter 8
|
||||
mov q[rbp-8], rbx
|
||||
mov q[rbp-16], nx0
|
@ -2,6 +2,6 @@
|
||||
; See the LICENSE file in the project root for more information.
|
||||
|
||||
include "crt/fmt/itoa.k"
|
||||
include "crt/fmt/_doprnt.k"
|
||||
include "crt/fmt/doprnt.k"
|
||||
include "crt/fmt/printf.k"
|
||||
|
||||
|
@ -17,7 +17,7 @@ printf:
|
||||
mov ax0, putc
|
||||
mov ax1, STRLEN_MAX
|
||||
lea ax3, b[rsp+8]
|
||||
jmp _doprnt
|
||||
jmp doprnt
|
||||
|
||||
;
|
||||
; Print a string
|
||||
|
40
vm/a.sym
40
vm/a.sym
@ -9,26 +9,26 @@ _itoa.next 1048942
|
||||
_itoa.fini 1048976
|
||||
_itoa.bad 1049048
|
||||
_itoa.zero 1049086
|
||||
_doprnt 1049120
|
||||
_doprnt.main_loop 1049250
|
||||
_doprnt.print_regular 1049286
|
||||
_doprnt.check_modf 1049344
|
||||
_doprnt.modf_s 1049640
|
||||
_doprnt.print_string 1049678
|
||||
_doprnt.modf_c 1049736
|
||||
_doprnt.modf_p 1049778
|
||||
_doprnt.modf_x 1049830
|
||||
_doprnt.modf_u 1049870
|
||||
_doprnt.modf_d 1049910
|
||||
_doprnt.modf_o 1049944
|
||||
_doprnt.modf_b 1049984
|
||||
_doprnt.print_number 1050024
|
||||
_doprnt.print_itoa_buf 1050084
|
||||
_doprnt.modf_percent 1050156
|
||||
_doprnt.bad_modifier 1050194
|
||||
_doprnt.nullstring 1050258
|
||||
_doprnt.epilogue 1050426
|
||||
_doprnt.doput 1050512
|
||||
doprnt 1049120
|
||||
doprnt.main_loop 1049250
|
||||
doprnt.print_regular 1049286
|
||||
doprnt.check_modf 1049344
|
||||
doprnt.modf_s 1049640
|
||||
doprnt.print_string 1049678
|
||||
doprnt.modf_c 1049736
|
||||
doprnt.modf_p 1049778
|
||||
doprnt.modf_x 1049830
|
||||
doprnt.modf_u 1049870
|
||||
doprnt.modf_d 1049910
|
||||
doprnt.modf_o 1049944
|
||||
doprnt.modf_b 1049984
|
||||
doprnt.print_number 1050024
|
||||
doprnt.print_itoa_buf 1050084
|
||||
doprnt.modf_percent 1050156
|
||||
doprnt.bad_modifier 1050194
|
||||
doprnt.nullstring 1050258
|
||||
doprnt.epilogue 1050426
|
||||
doprnt.doput 1050512
|
||||
putc 1050568
|
||||
printf 1050586
|
||||
print 1050644
|
||||
|
Loading…
Reference in New Issue
Block a user