DATAS SEGMENT;此处输入数据段代码 STR1 DW 5,01H,82H,21H,32H,432HDATAS ENDSSTACKS SEGMENT;此处输入堆栈段代码STT DB 100 DUP(?)TOP EQU LENGTH STTSTACKS ENDSCODES SEGMENTASSUME CS:CODES,DS:DATAS,SS:STACKSSTART:MOV AX,DATASMOV DS,AXMOV AX,STACKSMOV SS,AXMOV SP,TOP;此处输入代码段代码MOV CX,STR1 ;STR1 第一个存个数MOV SI,0MOV AX,0L1: ADD SI,2 ADD AX,STR1SILOOP L1MOV BX,STR1DIV BXMOV AH,4CHINT 21HCODES ENDSEND START