2. 菜单首字母改为大写
1 assume cs:codesg,ds:datasg 2 3 datasg segment 4 db ‘1.file ‘ 5 db ‘2.edit ‘ 6 db ‘3.search ‘ 7 db ‘4.view ‘ 8 db ‘5.options ‘ 9 db ‘6.help ‘ 10 datasg ends 11 12 codesg segment 13 start:mov ax,datasg 14 mov ds,ax 15 mov bx,0 16 mov cx,6 17 s:mov al,[bx+2] 18 and al,11011111b 19 mov [bx+2],al 20 add bx,10 21 loop s 22 nop 23 codesg ends 24 25 end start
时间: 2024-10-08 10:17:33