projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
xa 51, work in progress
[fw/sdcc]
/
src
/
asm.c
diff --git
a/src/asm.c
b/src/asm.c
index 325b28a9f60c7c434e27f0d912e71249645cc10b..e1da90635b4053881b8fbf7f67ea14d302cda3f0 100644
(file)
--- 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"},
{"dbs", ".db \"%s\""},
{"dw", ".dw"},
{"dws", ".dw %s"},
- {"constbyte", "0
%02xh
"},
- {"constword", "0
%04xh
"},
- {"immedword", "
#0%04Xh
"},
- {"immedbyte", "
#0%02Xh
"},
+ {"constbyte", "0
x%02x
"},
+ {"constword", "0
x%04x
"},
+ {"immedword", "
0x%04x
"},
+ {"immedbyte", "
0x%02x
"},
{"hashedstr", "#%s"},
{"lsbimmeds", "#<%s"},
{"msbimmeds", "#>%s"},
{"hashedstr", "#%s"},
{"lsbimmeds", "#<%s"},
{"msbimmeds", "#>%s"},