Mercurial > hg > CbC > old > device
comparison mc.h @ 82:25654dc29ecc
First Floating Point coding done.
author | kono |
---|---|
date | Wed, 05 Mar 2003 00:39:39 +0900 |
parents | f94ca1168520 |
children | f3f75911d62c |
comparison
equal
deleted
inserted
replaced
81:f94ca1168520 | 82:25654dc29ecc |
---|---|
147 #define SASS 68 | 147 #define SASS 68 |
148 #define RSTRUCT 69 | 148 #define RSTRUCT 69 |
149 | 149 |
150 #define FASSOP 70 | 150 #define FASSOP 70 |
151 #define DASSOP 71 | 151 #define DASSOP 71 |
152 | 152 #define DCOMP 72 |
153 #define DMINUS 73 | 153 #define DMINUS 73 |
154 #define DMUL 74 | 154 #define DMUL (DOP+MUL) |
155 #define DDIV 75 | 155 #define DDIV (DOP+DIV) |
156 #define DADD 76 | 156 #define DADD (DOP+ADD) |
157 #define DSUB 77 | 157 #define DSUB (DOP+SUB) |
158 #define LMUL 78 | 158 #define LMUL 78 |
159 #define LDIV 79 | 159 #define LDIV 79 |
160 #define LADD 80 | 160 #define LADD 80 |
161 #define LSUB 81 | 161 #define LSUB 81 |
162 | 162 |
278 | 278 |
279 #define dcadr(e) (*(double*)&heap[((int)(e))+1]) | 279 #define dcadr(e) (*(double*)&heap[((int)(e))+1]) |
280 #define dcaddr(e) (*(double*)&heap[((int)(e))+2]) | 280 #define dcaddr(e) (*(double*)&heap[((int)(e))+2]) |
281 | 281 |
282 #include "conv/conv.h" | 282 #include "conv/conv.h" |
283 #include "conv/c.h" | |
284 /* | 283 /* |
285 #include "conv/c2cbc.h" | 284 #include "conv/c2cbc.h" |
286 #include "conv/cbc2c.h" | 285 #include "conv/cbc2c.h" |
287 #include "conv/null.h" | |
288 */ | 286 */ |
289 | 287 |
290 extern Converter *conv; | 288 extern Converter *conv; |
291 | |
292 | 289 |
293 EXTERN void error(int n); | 290 EXTERN void error(int n); |
294 EXTERN int append4(int p,int a1,int a2,int a3); | 291 EXTERN int append4(int p,int a1,int a2,int a3); |
295 EXTERN int assign_expr(int e1,int e2,int t,int type); | 292 EXTERN int assign_expr(int e1,int e2,int t,int type); |
296 EXTERN int assign_expr0(int e1,int e2,int t,int type); | 293 EXTERN int assign_expr0(int e1,int e2,int t,int type); |