assume cs:code,ds:data
data segment
db 'Welcome to masm!'
data ends
code segment
start:mov ax,data
mov ds,ax
mov ax,0b800h
mov es,ax
mov bx,0
mov si,0
mov cx,16
s:mov al,[bx]
mov ah,02h
mov es:720h[si],ax
mov ah,24h
mov es:7c0h[si],ax
mov ah,71h
mov es:860h[si],ax
inc bx
add si,2
loop s
mov ax,4c00h
int 21h
code ends
end start
王爽的汇编语言 实验9
猜你喜欢
转载自blog.csdn.net/weixin_44223946/article/details/108827816
今日推荐
周排行