assume cs:codesg,ds:datasg
datasg segment
db '1. file '
db '2. edit '
db '3. search '
db '4. view '
db '5. options '
db '6. help '
datasg ends
codesg segment
start: mov ax,datasg
mov ds,ax
mov di,3
mov bx,0
mov cx,6
s: mov al,[di+bx]
and al,11101111b
mov [di+si],al
add bx,10h
loop s
mov ax,4c00h
int 21h
codesg ends
end start
================================
以上是问题7.6的源代码 |