strange assembly problem
for some reason, I get garbage data in my Gamecube controller driver when trying to optimize some of my code
I clear the data holding registers at the beginning of my loop to 0
then as the data comes in I use the carry flag to set the data bits accordingly
I am trying to replace this
with this
are these not equivalent, or am I missing something here?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Parallax Forums - If you're ready to learn, we're ready to help.
I clear the data holding registers at the beginning of my loop to 0
then as the data comes in I use the carry flag to set the data bits accordingly
I am trying to replace this
IF_C OR data1, #1 SHL data1, #1
with this
RCL data1, #1
are these not equivalent, or am I missing something here?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Parallax Forums - If you're ready to learn, we're ready to help.
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Parallax Forums - If you're ready to learn, we're ready to help.