分类：教育/科学-学习帮助
问题：十六进制转换为十进制并输出的汇编程序 
回答：DATASEGMENTXDB?DATAECODESEGMEN ,DS:DATAAX,DATAMOVDS,AXMOVCL,4DL,20HMOVAH,02HINT21HXORDL,DLXORAL,ALMOVAH,1INT21HMOVAH,0ANDAL,0FHMOVX,ALCMPX,3;;;;;;;;;1JENEXT1CMPX,4JENEXT2CMPX,5JENEXT3CMPX,6JENEXT4JMPEND0NEXT1:MULXADDAL,XMOVBL,ALJMPZHNEXT2:MULXSUBAL,X;28SUBAL,XMOVBL,ALJMPZHNEXT3:MULX;;;;;;;;;;;;;;;2MOVBL,ALJMPZHNEXT4:MULXSHRAL,1ADDAL,XMOVBL, ,CLANDAL,0FHCMPAL,09HJBEZH1ADDAL,37HMOVDL,ALCALLOUTPUTJMPZH2ZH1:ADDAL,30HMOVDL,ALCALLOUTPUTJMPZH2ZH2:ANDBL,0FHCMPBL,09HJBEZH3ADDBL,37HMOVDL,BLCALLOUTPUTJMPINPUTZH3:ADDBL,30HMOVDL,BLCALLOUTPUTJMPINPUTOUTPUTPROCMOVAH,02HINT21HXORDL,DLRETOUTPUTENDPEND0:MOVAH,4CHINT21HCODEENDSENDSTART