diff options
author | Damien George <damien.p.george@gmail.com> | 2014-09-15 16:39:24 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-09-15 16:39:24 +0100 |
commit | d4a799f152a4823fe15003f2db908801fb84533c (patch) | |
tree | 754515e452e9c215dc6de5718be78eafe7ed209c /py/emitnative.c | |
parent | b92cbe612913a7c9d066c34912a3f77fe6392b2b (diff) | |
download | micropython-d4a799f152a4823fe15003f2db908801fb84533c.tar.gz micropython-d4a799f152a4823fe15003f2db908801fb84533c.zip |
py: Make asm_arm_less_op take destination register as first arg.
This gets ARM native emitter working againg and addresses issue #858.
Diffstat (limited to 'py/emitnative.c')
-rw-r--r-- | py/emitnative.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/emitnative.c b/py/emitnative.c index 0bddfbabad..9b3793966c 100644 --- a/py/emitnative.c +++ b/py/emitnative.c @@ -1514,7 +1514,7 @@ STATIC void emit_native_binary_op(emit_t *emit, mp_binary_op_t op) { asm_thumb_mov_rlo_i8(emit->as, REG_RET, 0); // if r0 >= r1 asm_thumb_mov_rlo_i8(emit->as, REG_RET, 1); // if r0 < r1 #elif N_ARM - asm_arm_less_op(emit->as, REG_ARG_2, REG_ARG_3); + asm_arm_less_op(emit->as, REG_RET, REG_ARG_2, REG_ARG_3); #else #error not implemented #endif |