mirror of
https://github.com/irmen/prog8.git
synced 2026-10-24 03:02:20 +00:00
STOREZX uses reg1 as the index register (not the value register), so it should return indexRegType (WORD on 32-bit targets) regardless of the instruction type. The code handled this for FLOAT/WORD/LONG but missed the BYTE type case, causing register type conflicts when indexing arrays with uword variables on m68k targets.