|
马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
assume ds:data,es:chen,cs:wei
data segment
db 3 dup ('abcd')
dd 1000h,10000h,100000h
dw 30h,300h,3000h
data ends
chen segment
db 'name meon rs sr '
chen ends
wei segment
start: mov ax,data
mov ds,ax
mov ax,chen
mov es,ax
mov bx,0
mov si,0
mov di,0
mov cx,3
s: mov al,[bx]
mov es:[di],al
mov al,[bx+1]
mov es:[di+1],al
mov al,[bx+2]
mov es:[di+2],al
mov al,[bx+3]
mov es:[di+3],al
mov ax,[bx+12]
mov es:[di+6],ax
mov dx,[bx+14]
mov es:[di+8],dx
mov ax,[bx+24+si]
mov es:[di+11],ax
mov ax,[bx+12]
mov dx,[bx+14]
div word ptr es:[di+11]
mov es:[di+14],ax
add bx,4
add si,2
add di,16
loop s
mov ax,4c00h
int 21h
wei ends
end start
|
|