从键盘输入10个数,经过冒泡排序后输出显示在屏幕上。datasegmenttatdb10dup(?)asdb13,10,'$'dataendsstactsegmentsacdb120dup(?)stactendspushregmacropushbxpushcxpushdxendmpopregmacropopdxpopcxpopbxendmcodesegmentassumeds:data,cs:code,ss:stactmain:movax,datamovds,axmovax,stactmovss,axmovcx,10leasi,tatqq:movah,1int21hsubal,30hrolal,4movbl,almovah,1int21hsubal,30horbl,almov[si],bladdsi,1movah,2movdl,''int21hloopqqleadx,asmovah,09hint21hmovdx,10movcx,dxleabx,tatp3:moval,[bx]movsi,bxp1:incsicmp[si],aljaep2loopp1p4:xchg[bx],alpushregmovdh,[bx]movcx,2ms:roldh,4movbl,dhandbl,0fhaddbl,30hcmpbl,3ahjlmmaddbl,7hmm:movdl,blmovah,2int21hdeccxjnzmsmovdl,''movah,2hint21hpopregdecdxmovcx,dxincbxcmpbx,10jnzp3movah,4chint21hp2:xchgal,[si]deccxjcxzp4jmpp1codeendsendmain