diff options
-rw-r--r-- | compiler.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -248,8 +248,8 @@ void generate(Compiler* c) { case op_mul: b = pop(c); a = pop(c); - gen_val(c, a, 0); - gen_val(c, b, 1); + gen_val(c, a, 1); + gen_val(c, b, 0); printf( "imul %%%s, %%%s\n", regs[1], |