/[gxemul]/trunk/src/cpus/generate_head.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/src/cpus/generate_head.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 30 by dpavlin, Mon Oct 8 16:20:40 2007 UTC revision 44 by dpavlin, Mon Oct 8 16:22:56 2007 UTC
# Line 1  Line 1 
1  /*  /*
2   *  Copyright (C) 2005-2006  Anders Gavare.  All rights reserved.   *  Copyright (C) 2005-2007  Anders Gavare.  All rights reserved.
3   *   *
4   *  Redistribution and use in source and binary forms, with or without   *  Redistribution and use in source and binary forms, with or without
5   *  modification, are permitted provided that the following conditions are met:   *  modification, are permitted provided that the following conditions are met:
# Line 25  Line 25 
25   *  SUCH DAMAGE.   *  SUCH DAMAGE.
26   *   *
27   *   *
28   *  $Id: generate_head.c,v 1.23 2006/08/11 17:43:30 debug Exp $   *  $Id: generate_head.c,v 1.30 2007/06/28 13:36:47 debug Exp $
29   */   */
30    
31  #include <stdio.h>  #include <stdio.h>
# Line 143  int main(int argc, char *argv[]) Line 143  int main(int argc, char *argv[])
143          printf("\tcpu->cd.%s.next_ic --;\n", a);          printf("\tcpu->cd.%s.next_ic --;\n", a);
144          printf("}\n\n");          printf("}\n\n");
145    
146          /*  Ugly special hacks for Transputer and SH[34]:  */          /*  Ugly special hacks for SH[34]:  */
147          if (strcasecmp(argv[1], "transputer") == 0) {          if (strcasecmp(argv[1], "sh") == 0) {
                 printf("static struct %s_instr_call nothing_call = { "  
                     "instr(nothing), {0} };\n", a);  
         } else if (strcasecmp(argv[1], "sh") == 0) {  
148                  printf("static struct %s_instr_call nothing_call = { "                  printf("static struct %s_instr_call nothing_call = { "
149                      "instr(nothing), {0,0} };\n", a);                      "instr(nothing), {0,0} };\n", a);
150          } else {          } else {

Legend:
Removed from v.30  
changed lines
  Added in v.44

  ViewVC Help
Powered by ViewVC 1.1.26