L,[SI]X2:LOOPX1MOVRESULT,ALMOVDX,OFFSETBUFMOVAH,9INT21HMOVBL,RESULTCBWMOVCX,1000CALLDEC_DIVMOVCX,100CALLDEC_DIVMOVCX,10CALLDEC_DIVMOVCX,1CALLDEC_DIVMOVAH,EARMOVAX,BXMOVDX,0DIVCXMOVBX,DXMOVDL,ALADDDL,30HMOVAH,2INT21HRETDEC_DIVENDPBEGINENDPCODEENDSENDBEGIN实验3的运行结果:4.实验内容4(1)实验内容4的流程图,如图所示:实验内容4程序:DATASEGMENTBLOCKDB-1,-2,-3,-4,-5,-6,-7,-8,-9,-10DB11,12,13,14,15,16,17,18,19,20POSITDW?NEGATDW?BUF1DB'POSIT:$'BUF2DB'NEGAT:$'DATAENDSCODESEGMENTASSUMECS:CODE,DS:DATASTARTPROCMOVAX,DATAMOVDS,AXMOVBX,OFFSETBLOCKMOVSI,0MOVDI,0MOVCX,20X1:MOVAL,[BX]CBWCMPAX,0JGEX3ADDDI,AXJMPX2X3:ADDSI,AXX2:INCBXLOOPX1MOVPOSIT,SIMOVNEGAT,DIMOVDX,OFFSETBUF1MOVAH,9INT21HMOVBX,POSITMOVCX,1000CALLDEC_DIVMOVCX,100CALLDEC_DIVMOVCX,10CALLDEC_DIVMOVCX,1CALLDEC_DIVMOVDL,0AHMOVAH,2INT21HMOVDX,OFFSETBUF2MOVAH,9INT21HMOVBX,NEGATNEGBX