25 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
26 |
* |
* |
27 |
* |
* |
28 |
* $Id: generate_head.c,v 1.17 2006/06/24 21:47:23 debug Exp $ |
* $Id: generate_head.c,v 1.18 2006/07/20 21:53:00 debug Exp $ |
29 |
*/ |
*/ |
30 |
|
|
31 |
#include <stdio.h> |
#include <stdio.h> |
153 |
printf("\tcpu->cd.%s.next_ic --;\n", a); |
printf("\tcpu->cd.%s.next_ic --;\n", a); |
154 |
printf("}\n\n"); |
printf("}\n\n"); |
155 |
|
|
156 |
printf("#ifdef DYNTRANS_VARIABLE_INSTRUCTION_LENGTH\n"); |
/* Ugly special hack for Transputer: */ |
157 |
printf("static struct %s_instr_call nothing_call = { " |
if (strcasecmp(argv[1], "transputer") == 0) { |
158 |
"instr(nothing), {0,0,0} };\n", a); |
printf("static struct %s_instr_call nothing_call = { " |
159 |
printf("#else\n"); |
"instr(nothing), {0} };\n", a); |
160 |
printf("static struct %s_instr_call nothing_call = { " |
} else { |
161 |
"instr(nothing), {0,0,0} };\n", a); |
printf("static struct %s_instr_call nothing_call = { " |
162 |
printf("#endif\n"); |
"instr(nothing), {0,0,0} };\n", a); |
163 |
|
} |
164 |
|
|
165 |
printf("\n"); |
printf("\n"); |
166 |
|
|