ex4_2.asm
jkak_masm5/chap5/ex4_2.asm
; ex 4 use [bx] and loop to trans data 0-63 to 0:200~0:23Fh.

assume cs:code_seg

code_seg segment
    mov ax, 20h
    mov ds, ax

    mov bx, 0   ; for [bx], and src data
    mov cx, 64  ; for loops
trans_lp:
    mov ds:[bx], bx
    inc bx
    loop trans_lp

    mov ax, 4c00h
    int 21h

code_seg ends
end
