DATASEGMENTARRAY DB 12,34,56,-12,-34,-9,0,3,0,-5,3,5 DB 0AH,0FFH,4,0,77H,88H,0F0H,0BBHCOUNTEQU$-ARRAYSUM1DW0;存正数累加和SUM2DW0;存负数绝对值累加和CUNT1DB0;存正数数据个数CUNT2DB0;存负数数据个数 DATAENDSSTACK1SEGMENTPARASTACKSTADW20HDUP(0)STACK1ENDSCOSEGSEGMENTASSUMECS:COSEG,DS:DATA,SS:STACK1START:MOVAX,DATAMOVDS,AXXORAX,AXXORBX,BXXORCX,CXXORDX,DXLEASI,ARRAYMOVCL,COUNTLOP:TESTBYTE PTR SI,80HJEPLUS