实验11,感觉写的还不错~记录下
assume cs:codedata segment
db "Beginner's All-purpose Symbolic Instruction Code.",0
data ends
code segment
next:nop
letterc:mov al,
inc si
mov ch,0
mov cl,al
jcxz ok
cmp al,61h
jb next
cmp al,7ah
ja next
and al,11011111b
mov ,al
jmp next
ok:ret
start:mov ax,data
mov ds,ax
mov si,0
call letterc
mov ax,4c00h
int 21h
code ends
end start
页:
[1]