用8086汇编语言编写程序,从键盘输入一段字符,以#结束,统计其中数字,字母...答:ax;code start here; read string lea dx, buf mov ah,0ah int 21h; xor cx, cx mov cl, buf+1 mov si, 0Loop1: mov al, buf[si+2] cmp al, '#' jz lopend cmp al, 20h jz space ...
用8086汇编语言编写的学生信息查询程序答:9 INT 21H MOV DL,0DH MOV AH,2 INT 21H MOV DL,0AH MOV AH,2 INT 21H JMP HUAN2 HUAN3: MOV AL,[DI]CMP [SI],AL JNE HUAN2 INC SI INC DI MOV AL,0DH CMP [DI],AL JE XIANSHI MOV AL,'*'CMP [SI],AL JE FANHUI JMP HUAN3 ...
求汇编大神 编写8086汇编语言程序统计BUFFER缓冲区的数字字符个数,并将...答:show original string mov ah,9 lea dx, buffer int 21h mov cx, n lea si, buffer$0: mov al,[si] cmp al,'0' jb $1 cmp al,'9' ja $1 inc nd jmp $2$1: mov byte ptr [si], '*'$2: inc si loop $0 ;show result string mov ah,9 lea ...
求一段8086的汇编语言程序,对50个带符号字节数据进行排序,将排序结果显 ...答:100d call bin mov cx,10d call bin mov cx,1d call bin ret bini endp bin proc near mov ax,bx mov dx,0 div cx mov bx,dx mov dl,al add dl,30h mov ah,02h int 21h ret bin endp crlf proc near mov dl,0ah mov ah,02h int 21h mov dl,0dh mov ah,02h int 21 ret ...