汇编语言统计数组中的正数、负数和零的个数

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

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

1 / 2
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功