mov 4, count mov dx, 0 loopstartlabel: inc dx add dx, from_base_address # the new "from" memory address is put into cx load ax, cx add dx, to_base_address # the new "to" memory address is put into cx load bx, cx mov ax, bx add dx, to_base_address # the result is put into cx stor bx, cx # cx now holds the memory location for bx cmp dx, count jne loopstartlabel