projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed bitfield initialization in code space
[fw/sdcc]
/
src
/
mcs51
/
gen.c
diff --git
a/src/mcs51/gen.c
b/src/mcs51/gen.c
index f4740450e07e346328eae623d93e6bc5b07c8e86..ac7e903300355ca6bb1f8a98ce07d90d47057c3e 100644
(file)
--- a/
src/mcs51/gen.c
+++ b/
src/mcs51/gen.c
@@
-6630,7
+6630,7
@@
genUnpackBits (operand * result, char *rname, int ptype)
case CPOINTER:
emitcode ("clr", "a");
- emitcode ("movc", "a", "@a+dptr");
+ emitcode ("movc", "a
,%s
", "@a+dptr");
break;
case GPOINTER: