> ld a,atempl ; the problem! ld a,(atempl) > push af > ld a,btempl ; again... ld a,(btempl) > ld b,a > pop af > There you go.