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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unhelpful error message for mov r3,[NN]

voctav opened this issue · comments

mov with a literal address only supports r0 as a destination. However, the error message when trying to use another register is not very helpful:

E::Uncaught syntax error
        Line 68:                mov     r3,[0xf0]

It should mention that only r0 is allowed as a target.

Good catch, fixed in e17df14.