Hack-a-Day/2022-Supercon6-Badge-Tools

ADD R0, n with negative n generates wrong instruction

unwiredben opened this issue · 1 comments

When I wrote add r0, -2, I expected to see

0F7 0000 0001 1110

but instead, it generated a CP instruction

0F7 0000 0000 1110 add r0, -2

Thanks for the PR.