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
Most of the bit/res/set operations now use constants instead of magic numbers, but some related operations remain. Look over the and/or/xor instructions and see which ones can involve constants: https://pastebin.com/3kVig3fL (this list omits and $0f, and $f0, and xor $ff since nybbles and negation are understood).
The text was updated successfully, but these errors were encountered:
Note that the very first ones on that list, the and $3f ; sound lengths, are related to the rNR11 and rNR21 registers, which I would borrow hardware.inc's constant for... if one existed. gbdev/hardware.inc#46
Most of the
bit/res/set
operations now use constants instead of magic numbers, but some related operations remain. Look over theand/or/xor
instructions and see which ones can involve constants: https://pastebin.com/3kVig3fL (this list omitsand $0f
,and $f0
, andxor $ff
since nybbles and negation are understood).The text was updated successfully, but these errors were encountered: