assume cs:code
code segment
start:mov ax,0
mov ds,ax
mov bx,200h
mov cx,40h ;64
s:mov [bx],al
inc bx
inc ax
loop s
mov ax,4c00h
int 21h
code ends
end start
2.
assume cs:code
code segment
start:mov ax,0020h
mov ds,ax
mov bx,0
mov cx,40h
s:mov [bx],bl
inc bx
loop s
mov ax,4c00h
int 21h
code ends
end start
3.
assume cs:code
code segment
start:mov ax,cs
mov ds,ax
mov ax,0020h
mov es,ax
mov bx,0
sub cx,5
mov ax,0
s:mov al,[bx]
mov es:[bx],al
inc bx
loop s
mov ax,4c00h
int 21h
code ends
end start
题外:
assume cs:code
code segment
start:mov ax,0
mov ds,ax
mov bx,200h
mov cx,40h ;64
s:mov [bx],al
inc bx
loop s
mov ax,4c00h
int 21h
code ends
end start
0:0200到0:023f置0