ppc: field expressions (alle codea_abgabe_*.0 laufen jetzt durch)
[uebersetzerbau-ss10.git] / gesamt_ppc / chelper.c
index 84ef5bac03d3f6215bc5a3758a2782aec2163058..e12653b418cfc7fcabe214a7ff4d622d35ff739a 100644 (file)
@@ -50,7 +50,7 @@ void move(char *src, char *dst)
 void moveimm(long imm, char *dst)
 {
        /* TODO: 32 bits... */
-       printf("\taddi %s,0,%d\n", dst, imm);
+       printf("\tli %s,%d\n", dst, imm);
 }
 
 char *next_reg(char *s, int params)