aboutsummaryrefslogtreecommitdiff
path: root/src/asm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/asm.c')
-rw-r--r--src/asm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/asm.c b/src/asm.c
index 60d8139..4674c99 100644
--- a/src/asm.c
+++ b/src/asm.c
@@ -296,7 +296,7 @@ static void output_alloc(struct insn i, FILE *o)
assert(i.type == ALLOC);
/** @todo alignment is ignored, is that our responsibility? */
fprintf(o, "addi sp, sp, -%lli\n", i.v);
- fprintf(o, "mov %s, sp\n", rname(i.out));
+ fprintf(o, "mv %s, sp\n", rname(i.out));
}
static void output_dealloc(struct insn i, FILE *o)