From: Bernhard Urban Date: Tue, 18 May 2010 00:46:55 +0000 (+0200) Subject: codea: zomg, lauter kleine eingeschlichene bugs! X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=uebersetzerbau-ss10.git;a=commitdiff_plain;h=87d74852448b916c49343a8120f8528201609e57;ds=sidebyside codea: zomg, lauter kleine eingeschlichene bugs! --- diff --git a/codea/code.bfe b/codea/code.bfe index 6184569..f51ccc2 100644 --- a/codea/code.bfe +++ b/codea/code.bfe @@ -70,8 +70,8 @@ void gen_e_imm(struct treenode *bnode, char *instr) printf("\t//subtraktion mit 0 wegoptimiert\n"); move(KID_REG(0), BN_REG); } else { - printf("\t%s $%d, %%%s\n", instr, KID_VAL(1), KID_REG(0)); move(KID_REG(0), BN_REG); + printf("\t%s $%d, %%%s\n", instr, KID_VAL(1), BN_REG); } } }