- fprintf (of, "; _xa51_genXINIT() start\n");
- fprintf (of, " mov r0,#l_XINIT\n");
- fprintf (of, " beq 00002$\n");
- fprintf (of, " mov r1,#s_XINIT\n");
+ fprintf (of, "; _xa51_genXINIT() start\n");
+ fprintf (of, " mov r0,#l_XINIT\n");
+ fprintf (of, " beq 00002$\n");
+ fprintf (of, " mov r1,#s_XINIT\n");
fprintf (of, " mov r2,#s_XISEG\n");
fprintf (of, "00001$: movc r3l,[r1+]\n");
fprintf (of, " mov [r2+],r3l\n");
fprintf (of, " djnz r0,00001$\n");
fprintf (of, "00002$:\n");
fprintf (of, " mov r2,#s_XISEG\n");
fprintf (of, "00001$: movc r3l,[r1+]\n");
fprintf (of, " mov [r2+],r3l\n");
fprintf (of, " djnz r0,00001$\n");
fprintf (of, "00002$:\n");
so we will cse only if they are local (i.e. both ic & pdic belong to
the same basic block */
if (IS_BITWISE_OP(ic) || ic->op == '+' || ic->op == '-') {
so we will cse only if they are local (i.e. both ic & pdic belong to
the same basic block */
if (IS_BITWISE_OP(ic) || ic->op == '+' || ic->op == '-') {
- /* then if they are the same Basic block then ok */
- if (ic->eBBlockNum == pdic->eBBlockNum) return 1;
- else return 0;
+ /* then if they are the same Basic block then ok */
+ if (ic->eBBlockNum == pdic->eBBlockNum) return 1;
+ else return 0;
- "MCU 80C51XA", /* Target name */
- NULL, /* Processor name */
+ "MCU 80C51XA", /* Target name */
+ NULL, /* Processor name */
- "", /* Options with debug */
- "", /* Options without debug */
+ "", /* Options with debug */
+ "", /* Options without debug */
- /* Sizes: char, short, int, long, ptr, fptr, gptr, bit, float, max */
+ /* Sizes: char, short, int, long, ptr, fptr, gptr, bit, float, max */
1, 2, 2, 4, 2, 2, 3, 1, 4, 4
},
/* tags for generic pointers */
1, 2, 2, 4, 2, 2, 3, 1, 4, 4
},
/* tags for generic pointers */
- { 0x00, 0x40, 0x60, 0x80 }, /* far, near, xstack, code */
+ { 0x00, 0x40, 0x60, 0x80 }, /* far, near, xstack, code */
"HOME (CODE)",
"XISEG (XDATA)", // initialized xdata
"XINIT (CODE)", // a code copy of xiseg
"HOME (CODE)",
"XISEG (XDATA)", // initialized xdata
"XINIT (CODE)", // 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
- "IABS (ABS,DATA)", // iabs_name - absolute data
+ "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
+ "IABS (ABS,DATA)", // iabs_name - absolute data
NULL, // default local map
NULL, // default global map
1
NULL, // default local map
NULL, // default global map
1
_xa51_reset_regparm,
_xa51_regparm,
NULL, // process_pragma()
NULL, // getMangledFunctionName()
NULL, // hasNativeMulFor()
_xa51_reset_regparm,
_xa51_regparm,
NULL, // process_pragma()
NULL, // getMangledFunctionName()
NULL, // hasNativeMulFor()
- hasExtBitOp, /* hasExtBitOp */
- oclsExpense, /* oclsExpense */
+ hasExtBitOp, /* hasExtBitOp */
+ oclsExpense, /* oclsExpense */
- TRUE, /* little endian */
- 0, /* leave lt */
- 0, /* leave gt */
- 1, /* transform <= to ! > */
- 1, /* transform >= to ! < */
- 1, /* transform != to !(a == b) */
- 0, /* leave == */
+ TRUE, /* little endian */
+ 0, /* leave lt */
+ 0, /* leave gt */
+ 1, /* transform <= to ! > */
+ 1, /* transform >= to ! < */
+ 1, /* transform != to !(a == b) */
+ 0, /* leave == */
- NULL, /* no builtin functions */
- GPOINTER, /* treat unqualified pointers as "generic" pointers */
- 1, /* reset labelKey to 1 */
- 1, /* globals & local static allowed */
+ NULL, /* no builtin functions */
+ GPOINTER, /* treat unqualified pointers as "generic" pointers */
+ 1, /* reset labelKey to 1 */
+ 1, /* globals & local static allowed */