|
4ed0ae373c
|
Adds atoi
|
2025-07-20 11:33:07 +02:00 |
|
|
1c5ba65f49
|
Correctly set padding length when using prefix (fixes #1)
|
2025-07-17 14:56:35 +02:00 |
|
|
bb53e7967d
|
Account for padding length when inserting prefix while padding with spaces
|
2025-07-16 13:24:24 +02:00 |
|
|
70ab8b19c3
|
Allow printing prefixes for %x,%X,%b and %o (pass ~base to udec)
|
2025-07-15 16:31:52 +02:00 |
|
|
dc49e29019
|
utoa/printf: Support octal (%o)
|
2025-07-15 08:18:57 +02:00 |
|
|
9f33e36883
|
Rewrite X2str functions to itoa/utoa ; it was a stupid idea to have seperate functions (=> more maintenance)
|
2025-07-15 07:58:18 +02:00 |
|
|
e806e50dc2
|
X2str(): Fix bug where padding wasn't added for longer (converted) strings
|
2025-07-14 12:05:00 +02:00 |
|
|
efeded5547
|
printf: Add padding support for %d, %i, %u, %x, %X
|
2025-07-12 16:33:07 +02:00 |
|
|
ee17ec68e0
|
printf(): Allow padding (spaces or zeroes) for %b
|
2025-07-12 07:48:21 +02:00 |
|
|
902d962068
|
Adds bin2str() and printf() format specifier %b
|
2025-07-10 12:19:54 +02:00 |
|
|
2d1a4b9d56
|
convert.asm: Avoid stack usage for reversing string - use second buffer instead
|
2025-07-10 01:37:26 +02:00 |
|
|
2b3439c380
|
convert.asm: MOV -> LEA
|
2025-07-10 00:56:56 +02:00 |
|
|
467b5b7a0b
|
hex2str: Perform test r9,r9 only once (instead of for each number in loop .convert)
|
2025-07-10 00:22:36 +02:00 |
|
|
368457f5c3
|
Remove leftover code in udec2str/hex2str
|
2025-07-09 12:17:00 +02:00 |
|
|
3eb71845a7
|
hex2str: cmp -> test
|
2025-07-09 11:44:22 +02:00 |
|
|
881d88ec4e
|
hex2str: Fix logic for arg uppercase (0=tolower, anything else=upper)
|
2025-07-09 11:35:03 +02:00 |
|
|
af34e3208c
|
Adds hex2str
|
2025-07-09 11:16:04 +02:00 |
|
|
f8df1242fc
|
Rename int2str/uint2str -> dec2str/udec2str
|
2025-07-08 17:49:38 +02:00 |
|
|
72409116f5
|
Adds int2str() and uint2str() (=>itoa)
|
2025-07-08 17:12:33 +02:00 |
|
|
e12b8f0365
|
Add Makefile, gitignore and (empty-ish) source files
|
2025-07-05 01:11:30 +02:00 |
|