d4dd5b7d80printf test 12: Use tabs+%0REG_SIZEb instead of %64b for each register; assure full register length is printed if RAX has a different valueKwarde2025-07-14 14:22:10 +02:00
e806e50dc2X2str(): Fix bug where padding wasn't added for longer (converted) stringsKwarde2025-07-14 12:05:00 +02:00
483d9185deFix printf args always being first arg when using padding, improved/added tests. NEW FOUND BUG: full qword byte misses 3 characters when using paddingKwarde2025-07-13 15:03:59 +02:00
1971c5b897Fix typo (extra -) in printf10Str and printf11StrKwarde2025-07-12 16:36:51 +02:00
efeded5547printf: Add padding support for %d, %i, %u, %x, %XKwarde2025-07-12 16:33:07 +02:00
b327248e0cprintf: Shorten code; MOV RDX, R13 instead of bunch of checks (originally I intended to use NOT R12 if padding with zeroes)Kwarde2025-07-12 08:10:43 +02:00
ee17ec68e0printf(): Allow padding (spaces or zeroes) for %bKwarde2025-07-12 07:48:21 +02:00
3951e50ab0Force self to sub/add rsp before/after push/pop (instead of after/before push/pop) -- prevents popping wrong values, eventually (in callee, like what printf does)Kwarde2025-07-10 01:38:25 +02:00
2d1a4b9d56convert.asm: Avoid stack usage for reversing string - use second buffer insteadKwarde2025-07-10 01:37:26 +02:00
d919a0be05FIX: Stack alignment in tests.asmKwarde2025-07-10 01:22:44 +02:00
3d2bf1b40dprintf(): Fix wrong instruction when fetching arg from stack (lea->mov : arg already is (supposed to be) an address)Kwarde2025-07-06 21:26:26 +02:00
3ccad56d76printf(): Add support for %s, fix buffer flushing (length given was r11, not r10)Kwarde2025-07-06 20:50:07 +02:00
cc214ed5e5Adds basic printf() (currently only support '%%')Kwarde2025-07-06 20:09:21 +02:00
a47ab3cdc6strcat: Better logic for determining max amount of characters to copyKwarde2025-07-06 19:13:05 +02:00
ddd44d5a68Remove comment that was supposed to be removed in the previous commitKwarde2025-07-06 12:25:19 +02:00