> > ld a,7 > > ld dat,a >You probaably mean: > ld (dat),a >right... > > > dat: > > db. 08d > > > > Now the number that you get by lding from dat is 7 rather than 8. > > > > Hpoe it helps: > > > > -Gavin O. No, I meant ld dat,a. This is simplified writeback.