8086汇编如何打印寄存器内数值答:CMP CX,1 JZ l2 ;被除数为0时确保有输出 cmp dx,bx jz skip ;不输出前面的0 l2: mov dl,al OR DL,30H mov ah,02h int 21h ;输出 skip: pop ax ;余数出栈 xor dx,dx add SI,2 LOOP l1 MOV AH,0 INT 16H MOV AX,4C00H INT 21H X DW 10000,1000,100,10,1 CODES ENDS END START 本...
汇编中如何直接输出一个寄存器的二进制值?(不需转换成十进制)_百度知 ...答:11000000b DATAS ENDS STACKS SEGMENT db 64 dup(?)STACKS ENDS CODES SEGMENT ASSUME CS:CODES,DS:DATAS,SS:STACKS START:push ax push bx push cx push dx MOV AX,DATAS MOV DS,AX mov bl,bin mov cx,8 mov ah,2 1:mov dl,0 rcl bl,1 adc dl,"0"int 21h loop 1 pop dx pop c...