0
0
mirror of https://github.com/netwide-assembler/nasm.git synced 2025-07-24 10:25:42 -04:00
H. Peter Anvin 1d1ba9c7d7 preproc: add %num() to format a number in an arbitrary base
Add the %num() preprocessor function, which returns a quoted string
with a number formatted in any base between 2 and 64 (using bash
encoding with '@' for 62 and '_' for 63.)

It can specify a fixed number of digits with or without truncation.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2022-11-15 16:58:20 -08:00
..
2019-09-12 20:21:03 -04:00
2018-12-18 11:14:59 -08:00
2020-07-16 23:11:03 -07:00
2020-07-16 23:11:03 -07:00
2019-09-12 20:26:23 -04:00
2020-08-25 16:16:09 -07:00
2020-08-25 16:16:09 -07:00
2020-07-17 17:58:38 -07:00
2022-01-09 18:27:53 +01:00
2022-01-09 17:34:35 +01:00
2020-08-25 15:46:44 -07:00
2020-06-27 22:30:50 -07:00