The following code: ld IX(1), a always generates: ld (ix+$00),a DD 77 00 regardless of the index used. The IY index is also broken.