projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
What was I thinking?
[fw/sdcc]
/
src
/
mcs51
/
gen.h
diff --git
a/src/mcs51/gen.h
b/src/mcs51/gen.h
index 4c5045793fc613ddbcf9093e40de992cda06c666..12cc17d730fa29968bb6386782bb428df96c07d1 100644
(file)
--- a/
src/mcs51/gen.h
+++ b/
src/mcs51/gen.h
@@
-29,7
+29,7
@@
enum
{
AOP_LIT = 1,
AOP_REG, AOP_DIR,
{
AOP_LIT = 1,
AOP_REG, AOP_DIR,
- AOP_DPTR, AOP_
DPTR2, AOP_
R0, AOP_R1,
+ AOP_DPTR, AOP_R0, AOP_R1,
AOP_STK, AOP_IMMD, AOP_STR,
AOP_CRY, AOP_ACC
};
AOP_STK, AOP_IMMD, AOP_STR,
AOP_CRY, AOP_ACC
};
@@
-65,7
+65,11
@@
typedef struct asmop
regs *aop_reg[4]; /* array of registers */
char *aop_dir; /* if direct */
regs *aop_ptr; /* either -> to r0 or r1 */
regs *aop_reg[4]; /* array of registers */
char *aop_dir; /* if direct */
regs *aop_ptr; /* either -> to r0 or r1 */
- char *aop_immd; /* if immediate others are implied */
+ struct {
+ int from_cast_remat; /* cast remat created this : immd2 field used for highest order*/
+ char *aop_immd1; /* if immediate others are implied */
+ char *aop_immd2; /* cast remat will generate this */
+ } aop_immd;
int aop_stk; /* stack offset when AOP_STK */
char *aop_str[4]; /* just a string array containing the location */
}
int aop_stk; /* stack offset when AOP_STK */
char *aop_str[4]; /* just a string array containing the location */
}