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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ADD R0, n with negative n generates wrong instruction

unwiredben opened this issue · 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.