>There are a lot of different ways to do this, trading off speed, code >space, temporary variables, stack space, and flexibility. The fastest >way to copy variables would be a simple load and store: I still like this the best: LD HL,srcpntr LD DE,destpntr LD BC,bytestomove LDIR Andy ================================================================== Andy Kunz - Montana Design - 409 S 6th St - Phillipsburg, NJ 08865 Hardware & Software for Industry & R/C Hobbies "Go fast, turn right, and keep the wet side down!" ==================================================================