projects
/
uebersetzerbau-ss10.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
codea: formatstring
[uebersetzerbau-ss10.git]
/
codea
/
chelper.c
diff --git
a/codea/chelper.c
b/codea/chelper.c
index 2392092d083b8628aa2c8b296a9b35231c22ff67..af9cf4cebf88ba3a82a33ff3f841e9cfd65279e0 100644
(file)
--- a/
codea/chelper.c
+++ b/
codea/chelper.c
@@
-32,7
+32,7
@@
void move(char *src, char *dst)
void moveimm(long imm, char *dst)
{
char buf[100];
- sprintf(buf, "$%
li
", imm);
+ sprintf(buf, "$%
d
", imm);
printf("\tmovq %s, %%%s\n", buf, dst);
}