简单的问题,却答案不简单
统计一字符串中程序代码:
data segment str db "This is an example for test!" count=$-str data ends code segment assume cs:code,ds:data start:mov ax,data mov ds,ax mov cx,count lea bx,str next:mov ax,[bx] cmp ax,‘a’ jnz next1 inc dl next1:inc bx dec cx jnz next mov ah,4ch int 21h code ends end start小写字母‘a’的个数,并将统计结果存放到DL寄存器中,这个程序错误在那里