i'm not sure if this will mork, but i think this is how you would do it: deltax: ld hl, varname-1 rst $20 rst $10 ld a,b ex de,hl call $4633 rst $20 ret varname: .db 2,$BF,58 that should do it. -base_16@geocities.com