X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fasm.c;h=e1da90635b4053881b8fbf7f67ea14d302cda3f0;hb=e76f5fbeaa15ee0679147f7e2daccd74932faaca;hp=325b28a9f60c7c434e27f0d912e71249645cc10b;hpb=598b42eac1d08810287fc5d39e47af9eb1a26632;p=fw%2Fsdcc diff --git a/src/asm.c b/src/asm.c index 325b28a9..e1da9063 100644 --- a/src/asm.c +++ b/src/asm.c @@ -402,10 +402,10 @@ static const ASM_MAPPING _xa_asm_mapping[] = {"dbs", ".db \"%s\""}, {"dw", ".dw"}, {"dws", ".dw %s"}, - {"constbyte", "0%02xh"}, - {"constword", "0%04xh"}, - {"immedword", "#0%04Xh"}, - {"immedbyte", "#0%02Xh"}, + {"constbyte", "0x%02x"}, + {"constword", "0x%04x"}, + {"immedword", "0x%04x"}, + {"immedbyte", "0x%02x"}, {"hashedstr", "#%s"}, {"lsbimmeds", "#<%s"}, {"msbimmeds", "#>%s"},