您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 人事档案/员工关系 > 汇编语言统计数组中的正数、负数和零的个数
DATASEGMENTS1DB13,10,'ZHENG:$'S3DB13,10,'FU:$'S2DB13,10,'0:$'NUMDB-1,3,5,0,-5,-7,4,0,8V1DB0V2DB0V3DB0DATAENDSSTACK1SEGMENTPARASTACKDB20HDUP(0)STACK1ENDSCODESEGMENTASSUMECS:CODE,DS:DATA,SS:STACKSTART:MOVAX,DATAMOVDS,AXMOVES,AXMOVDI,OFFSETNUMXORBL,BLMOVCX,9L1:MOVAL,[DI]ORAL,ALJEADDV2JGADDV1INCV3JMPBOTTOMADDV2:INCV2JMPBOTTOMADDV1:INCV1BOTTOM:INCDILOOPL1MOVAH,09HMOVDX,OFFSETINT21HMOVAH,02HMOVDL,[V3]ADDDL,30HINT21HMOVAH,09HMOVDX,OFFSETINT21HMOVAH,02HMOVDL,[V2]ADDDL,30HINT21HMOVAH,09HMOVDX,OFFSETINT21HMOVAH,02HMOVDL,[V1]ADDDL,30HINT21HMOVAX,4C00HINT21HCODEENDSENDSTART
本文标题:汇编语言统计数组中的正数、负数和零的个数
链接地址:https://www.777doc.com/doc-5659793 .html