projects
/
uebersetzerbau-ss10.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ppc: field expressions (alle codea_abgabe_*.0 laufen jetzt durch)
[uebersetzerbau-ss10.git]
/
gesamt_ppc
/
chelper.c
diff --git
a/gesamt_ppc/chelper.c
b/gesamt_ppc/chelper.c
index 84ef5bac03d3f6215bc5a3758a2782aec2163058..e12653b418cfc7fcabe214a7ff4d622d35ff739a 100644
(file)
--- 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("\t
addi %s,0
,%d\n", dst, imm);
+ printf("\t
li %s
,%d\n", dst, imm);
}
char *next_reg(char *s, int params)