1 assume cs:codesg 2 3 datasg segment 4 db "Beginner's All-purpose Symbolic Instruction Code.",0 5 datasg ends 6 7 codesg segment 8 begin: 9 mov ax,datasg 10 mov ds,ax 11 mov si,0 12 call letterc 13 14 mov ax,4c00h 15 int 21h 16 17 letterc: 18 push cx 19 push si 20 push bx 21 22 mov cx,0 23 ks: 24 mov byte ptr cl,ds:[si] 25 jcxz ok 26 cmp cl,97 27 jb lp 28 cmp cl,122 29 ja lp 30 and cl,11011111B 31 mov byte ptr ds:[si],cl 32 lp: 33 inc si 34 jmp short ks 35 ok: 36 pop bx 37 pop si 38 pop cx 39 ret 40 41 codesg ends 42 end begin 43
与您一同分享精彩的网络世界
-486174组织成员