首页 > 代码库 > 王爽汇编10.12

王爽汇编10.12

;10.12assume cs:code,ds:datadata segment        db word,0        db unix,0        db wind,0        db good,0data endscode segmentstart :        mov ax,data        mov ds,ax        mov si,0        mov di,16        mov cx,4s:              call cap        inc si        loop s        MOV AX,4C00H        INT 21H    cap:               push cx     tip:        mov cl,[si]        mov ch,0        jcxz ok        and byte ptr [si],11011111B        inc si        jmp short tip    ok:        pop cx                retCODE ENDSEND start 

书上有的代码,稍微把几句废话去掉了