1.定义
理解关键字
2. 应用一
2.1思路
2.2代码
p10.asm
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 bx,0
mov cx,6 ;循环次数
s:mov al,[bx+3]
and al,11011111b ;小写字母位1 -> 大写字母位0,使用【与零变零】
mov [bx+3],al
add bx,0010h
loop s
mov ax,4c00h
int 21h
codesg ends
end start