07HРBBB: MOV AX, BXР AND AX, 000FHР CMP AL, 0AHР JB QQQР ADD AL, 07HРQQQ: ADD AL, 30HР MOV [DI], ALР DEC DIР PUSH CXР MOV CL, 04Р SHR BX, CLР POP CXР LOOP BBBР MOV CX, 0004HРCCC: MOV AX, DXР AND AX, 000FHР CMP AL, 0AHР JB DDDР ADD AL, 07HРDDD: ADD AL, 30HР MOV [DI], ALР DEC DIР PUSH CXР MOV CL, 04HР SHR DX, CLР POP CXР LOOP CCCР POP DI Р POP CXР RETР SHOW ENDPРBEGIN: MOV AX, DATAР MOV DS, AXР MOV CX, COUNTР CALL WDADDР CALL SHOWР MOV DX, OFFSET RESULTР MOV AH, 09HР INT 21HР MOV AH, 4CHР INT 21HРCODE ENDSР END BEGINР执行程序EXAM2-5·EXE,屏幕上显示结果:Р000107B6