David Phillips wrote: > > Self modifying code might suit that purpose, if the register doesn't > change inside the inner loop (or whatever you're using it for). Just > use this: > > ld a,c > ld (FIXUP_LOC+1),a > ... > FIXUP_LOC: > ld (ix+$FF),b > > BTW, can you use IY an asm program without crashing the calc? Yeah, just do ld iy,$c3e5 before you exit.