标签:
assume cs:codesg,ss:tacksg,ds:datasg
stacksg segment
dw 0,0,0,0,0,0,0,0
stacksg ends
datasg segment
db ‘1. display ‘
db ‘2. brows ‘
db ‘3. replace ‘
db ‘4. modify ‘
datasg ends
codesg segment
start:
mov ax,datasg
mov ds,ax
mov ax,stacksg
mov ss,ax
mov sp,16
mov bx,0
mov cx,4
s0:
push cx;
mov si,3
mov cx,4
s:
mov al,[bx+si]
and al,1101111b
mov [bx+si],al
inc si
loop s
add bx,16
pop cx
loop s0
mov ax,4c00H
int 21H
codesg ends
end start
标签:
原文地址:http://www.cnblogs.com/HJL085/p/5452224.html