-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
In application it comes out that instruction word 0x24-0x11 (16'b0010010000010001) could be recognized as CLR R17.
However, if we introduce this word into EOR insttruction to translate, we can have a line as EOR r1, r1, what's equivalent to CLR R1.
In fact as I've communnicated with FAE of ATMega, and referred to the MANUAL of AVR ISC, the second type of translation is true. I.e., the code structure of CLR is like (refer to 5.39 and 5.54 sections of manual):
0010 01dd dddd dddd
is in fact:
0010 01d4d4 d3d2d1d0 d3d2d1d0.
Branch that fixed this bug is still on my going....
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels