description | vsnprintf x86_64 assembly partial implementation |
owner | sylvain.bertrand@legeek.net |
last change | Sun, 7 Jan 2024 13:17:28 +0000 (7 13:17 +0000) |
URL | git://repo.or.cz/nyanvsnprintf.git |
https://repo.or.cz/nyanvsnprintf.git | |
push URL | ssh://repo.or.cz/nyanvsnprintf.git |
https://repo.or.cz/nyanvsnprintf.git (learn more) | |
bundle info | nyanvsnprintf.git downloadable bundles |
content tags |
You should not use the printf family of functions. Those are a lost cause. Eat the bullet and work a bit more using a brutal put_string and string conversion functions with dynamically allocated space on the stack. It is meant to be source included, but a standalone version is provided (see the assemble.sh script). At the time of writing, it does assembly with fasmg, binutils gas and nasm (then probably yasm) and does require a simple C preprocessor, currently using tcc (tinycc) one. A vim syntax color file is provided for the used intel-ish syntax, common to all 3 main assemblers. "nyan" prefix is used in order to reduce project name conflict probability with commercial/other project names.
2024-01-07 | Sylvain BERTRAND | switch the fatal error path to put_stringmaster | commitcommitdifftreesnapshot (tar.gz zip) |
2024-01-05 | Sylvain BERTRAND | add vim syntax file | commitcommitdifftreesnapshot (tar.gz zip) |
2024-01-05 | Sylvain BERTRAND | Initial commit | commitcommitdifftreesnapshot (tar.gz zip) |
3 months ago | master | logtree |