|
马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
本帖最后由 xhjswbx 于 2012-5-31 13:07 编辑
assume cs:dmd,ds:data,es:table
data segment
db 'wellcome masm!'
db 02h,24h,71h
data ends
table segment
nop
table ends
dmd segment
start: mov ax,data
mov ds,ax
mov si,0
mov ax,table
mov es,ax
mov ax,0b872h
mov es,ax
mov bx,0
mov cx,14
s: mov al,ds:[bx]
mov es:[si],al
mov es:0a0h[si],al
mov es:0140h[si],al
mov al,02h
mov es:[si+1],al
mov al,24h
mov es:0a0h[si+1],al
mov al,71h
mov es:0140h[si+1],al
inc bx
add si,2
loop s
mov ax,4c00h
int 21h
dmd ends
end start
|
|