【发布时间】:2011-02-12 14:09:48
【问题描述】:
div后面怎么显示11.1?例如 32/5=6.4,我只能显示 6 那么如何显示 6.4?
OUT23:
MOV BL,CNT ;CNT is the total number of even number
DIV BL
MOV DL,AL
MOV BH,AL
MOV AH,09H
LEA DX,MSG23
INT 21H
MOV DL,BH ;print out the average, only the integer part able to display
MOV AH,02
ADD DL,30H
INT 21H
【问题讨论】: