实验四
1
assume cs:code
code segment
mov ax,0b800h
mov ds,ax
mov bx,07b8h
mov cx,16
mov dx,0403h
s:mov ds:[bx],dx
inc bx
inc bx
loop s
mov ax,4c00h
int 21h
code ends
end
2、
assume cs:code
code segment
mov ax,0020h
mov ds,ax
mov bx,0
mov cx,64
s:mov [bx],bx
inc bx
loop s
mov ax,4c00h
int 21h
code ends
end
3
assume cs:code
code segment
mov ax,cs
mov ds,ax
mov ax,0020h
mov es,ax
mov bx,0
mov cx,17
s:mov al,[bx]
mov es:[bx],al
inc bx
loop s
mov ax ,4c00h
int 21h
code ends
end