assume cs:code,ds:data data segment db ‘Beginners All-purpose Symbolic Instruction Code.‘,0 data ends code segment begin: mov ax,data mov ds,ax mov si,0 call letterc mov ah,4ch int 21h letterc: push ax s: mov al,[si] mov ah,0 mov cx,ax jcxz return cmp al,61h jb next cmp al,91h ja next and al,11011111b mov [si],al next: inc si jmp short s return: pop ax ret code ends end begin
原文地址:https://www.cnblogs.com/gkp307/p/9945954.html
时间: 2024-10-14 06:14:13