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
最新推荐文章于 2023-05-23 20:28:20 发布