You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your generated code for N and Z flag handling is incorrect.
The Z flag should be set if result == 0 after truncating to 8 bits.
The N flag is almost always a copy of bit 7 of the result. I see you have this for some instructions, but not for example with ADC, where it's certainly true.
The text was updated successfully, but these errors were encountered:
Your generated code for N and Z flag handling is incorrect.
The Z flag should be set if result == 0 after truncating to 8 bits.
The N flag is almost always a copy of bit 7 of the result. I see you have this for some instructions, but not for example with
ADC
, where it's certainly true.The text was updated successfully, but these errors were encountered: