projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* src/SDCCpeeph.c: made labelHashEntry global, made pcDistance, FBYNAME static,
[fw/sdcc]
/
src
/
mcs51
/
main.c
diff --git
a/src/mcs51/main.c
b/src/mcs51/main.c
index 40dcc69e5c3291711f5de13b724e2264d8287f29..2307724fcf8286e9b5d548ca79e0165b520960ba 100644
(file)
--- a/
src/mcs51/main.c
+++ b/
src/mcs51/main.c
@@
-590,7
+590,7
@@
asmLineNodeFromLineNode (lineNode *ln)
asmLineNode *aln = newAsmLineNode();
char *op, op1[256], op2[256];
int opsize;
asmLineNode *aln = newAsmLineNode();
char *op, op1[256], op2[256];
int opsize;
- const
unsigned
char *p;
+ const char *p;
char inst[8];
mcs51opcodedata *opdat;
char inst[8];
mcs51opcodedata *opdat;
@@
-729,7
+729,8
@@
PORT mcs51_port =
_defaultRules,
getInstructionSize,
getRegsRead,
_defaultRules,
getInstructionSize,
getRegsRead,
- getRegsWritten
+ getRegsWritten,
+ mcs51DeadMove
},
{
/* Sizes: char, short, int, long, ptr, fptr, gptr, bit, float, max */
},
{
/* Sizes: char, short, int, long, ptr, fptr, gptr, bit, float, max */
@@
-754,6
+755,9
@@
PORT mcs51_port =
"XISEG (XDATA)", // xidata_name - initialized xdata initialized xdata
"XINIT (CODE)", // xinit_name - a code copy of xiseg
"CONST (CODE)", // const_name - const data (code or not)
"XISEG (XDATA)", // xidata_name - initialized xdata initialized xdata
"XINIT (CODE)", // xinit_name - a code copy of xiseg
"CONST (CODE)", // const_name - const data (code or not)
+ "CABS (ABS,CODE)", // cabs_name - const absolute data (code or not)
+ "XABS (ABS,XDATA)", // xabs_name - absolute xdata/pdata
+ "IABS (ABS,DATA)", // iabs_name - absolute idata/data
NULL,
NULL,
1
NULL,
NULL,
1