问题7.6 将datasg 段中每个单词的头一个字母改为大写字母

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
                    mov            [bx+3],al
                    add              bx,16
                    loop             s
codesg              ends
                    end             start

  

天晴了,起飞吧
原文地址:https://www.cnblogs.com/jianqiao123/p/12251424.html