Ahh, brilliant! Thanks for the reply, Shallan! I'm familiar with 6502 from working on NES where the code is in unwritable ROM so self modifying code still catches me off guard :)