X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=uebersetzerbau-ss10.git;a=blobdiff_plain;f=gesamt_ppc%2Fchelper.c;h=e12653b418cfc7fcabe214a7ff4d622d35ff739a;hp=84ef5bac03d3f6215bc5a3758a2782aec2163058;hb=61464f024c073b5aed5ed55e0eb29bd4bf10ae9e;hpb=41b58f7412731cc4e7e27043e0d118aa328f3db7 diff --git a/gesamt_ppc/chelper.c b/gesamt_ppc/chelper.c index 84ef5ba..e12653b 100644 --- a/gesamt_ppc/chelper.c +++ b/gesamt_ppc/chelper.c @@ -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)