assume cs:code data segment db 10 dup (0) data ends code segment start : mov ax,4240H;F4240H=1000000 mov dx,0FH mov cx,0AH mov bx,data mov ds,bx mov si,0 call dtoc mov dh,8 mov dl,3 mov cl,2 call show_str mov ax,4c00h int 21h dtoc: push ax;子程序中使用的寄存器…