Skip to content

Commit

Permalink
Update WHATSNEW
Browse files Browse the repository at this point in the history
  • Loading branch information
lurk101 committed Sep 2, 2024
1 parent 0642ffd commit 6741937
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
12 changes: 6 additions & 6 deletions cc/cc.c
Original file line number Diff line number Diff line change
Expand Up @@ -2770,18 +2770,18 @@ static void emit_oper(int op) {
break;

case DIV:
emit(0x4601); // mov r1,r0
emit_pop(0); // pop {r0}
emit_fop(aeabi_idiv);
break;
case MOD:
emit(0x4601); // mov r1,r0
emit_pop(0); // pop {r0}
#if PICO2350
if (op == MOD)
emit_fop(aeabi_imod);
else
emit_fop(aeabi_idiv);
emit_fop(aeabi_imod);
#else
emit_fop(aeabi_idiv);
if (op == MOD)
emit(0x4608); // mov r0,r1
emit(0x4608); // mov r0,r1
#endif
break;
default:
Expand Down
4 changes: 4 additions & 0 deletions docs/WHATSNEW.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
What's new in version 2.0.1

- Fix Heap Limit

What's new in version 2.0.0

- Pico2 (RP2350) support
Expand Down

0 comments on commit 6741937

Please sign in to comment.