assume cs:code,ss:stack,ds:data
data segment
db '1. display '
db '2. brows '
db '3. replace '
db '4. modify '
data ends
stack segment
db ' '
stack ends
code segment
start:mov ax,data
mov ds,ax
mov ax,stack
mov ss,ax
mov sp,10H
mov bx,3
mov cx,4;循环次数
s1: push cx
mov cx,4
mov si,0
s2:mov al,[bx][si]
and al,11011111b
mov [bx][si],al
inc si
loop s2
pop cx
add bx,10H
loop s1
mov ax,4c00h
int 21h
code ends
end start
data segment
db '1. display '
db '2. brows '
db '3. replace '
db '4. modify '
data ends
stack segment
db ' '
stack ends
code segment
start:mov ax,data
mov ds,ax
mov ax,stack
mov ss,ax
mov sp,10H
mov bx,3
mov cx,4;循环次数
s1: push cx
mov cx,4
mov si,0
s2:mov al,[bx][si]
and al,11011111b
mov [bx][si],al
inc si
loop s2
pop cx
add bx,10H
loop s1
mov ax,4c00h
int 21h
code ends
end start