nasm/asm
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
..
assemble.c insns: drop special handling of conditional instructions 2022-11-12 12:37:37 -08:00
assemble.h Add a generic pragma-handling infrastructure 2017-03-07 21:32:37 -08:00
directiv.c BR 3392648: rename float.[ch] to floats.[ch] 2020-06-14 23:24:43 -07:00
directiv.dat Drop unnecessary EXTERN symbols 2019-09-12 20:21:03 -04:00
error.c Merge remote-tracking branch 'ElyesH/typos' 2022-11-07 12:39:44 -08:00
eval.c eval, float: fix the __float80e__ and __float128h__ conversions 2020-08-13 13:41:46 -07:00
eval.h Clean up the handling of various passes 2018-12-18 11:14:59 -08:00
exprdump.c exprlib: move dumping code to a separate C file 2017-02-28 18:13:43 -08:00
exprlib.c exprlib: move dumping code to a separate C file 2017-02-28 18:13:43 -08:00
floats.c fp: support bfloat16 constants 2020-07-16 23:11:03 -07:00
floats.h fp: support bfloat16 constants 2020-07-16 23:11:03 -07:00
labels.c Change LBL_NONE to LBL_none 2019-09-12 20:26:23 -04:00
listing.c Merge tag 'nasm-2.15.04' 2020-08-25 16:16:09 -07:00
listing.h Merge tag 'nasm-2.15.04' 2020-08-25 16:16:09 -07:00
nasm.c Merge remote-tracking branch 'ElyesH/typos' 2022-11-07 12:39:44 -08:00
parser.c insns: drop special handling of conditional instructions 2022-11-12 12:37:37 -08:00
parser.h Clean up the handling of various passes 2018-12-18 11:14:59 -08:00
pptok.dat Merge tag 'nasm-2.15.03' 2020-07-17 17:58:38 -07:00
pptok.pl preproc: distinguish between directives and functions 2022-11-11 19:51:22 -08:00
pragma.c Fix some comments 2022-01-09 18:27:53 +01:00
preproc.c preproc: add %num() to format a number in an arbitrary base 2022-11-15 16:58:20 -08:00
preproc.h preproc: get rid of the prepreprocessor and the nop preprocessor 2020-07-09 23:34:52 -07:00
quote.c Fix some typos 2022-01-09 17:34:35 +01:00
quote.h preproc: when parsing a # marker, use C-style string unquoting 2020-07-13 14:14:28 -07:00
rdstrnum.c rdstrnum: Make sure we dont shift out of bound 2018-10-29 22:25:16 +03:00
segalloc.c segalloc: DO NOT reset segment numbers 2018-06-14 16:42:03 -07:00
srcfile.c Make debug info and error messages correctly reflect macros and reps 2020-07-05 02:16:13 -07:00
srcfile.h srcfile: add src_nowhere() 2020-08-25 15:46:44 -07:00
stdscan.c doc: clean up warnings formatting 2020-06-27 22:30:50 -07:00
stdscan.h Reorganize the source code into subdirectories 2016-05-25 12:06:29 -07:00
strfunc.c Reorganize the source code into subdirectories 2016-05-25 12:06:29 -07:00
tokens.dat restire: Support of AVX512-FP16 Instructions 2022-11-07 12:21:23 -08:00
tokhash.pl insns: drop special handling of conditional instructions 2022-11-12 12:37:37 -08:00
warnings.pl warnings.pl: add back formatting for group alias lists 2022-11-09 19:01:54 -08:00