Split code apart from item_to_bitmask name line.
Make a note of a couple more common assembly patterns.
Change occurrences of PUSH IY, POP HL to HL = IY;