; 本程序通过编译,运行正确CodeSegment Assume CS:Code,DS:Codefirsdb23,-69,0,35,46,0,57,68,0,79Elements equ($-firs)/Type firs ;元素个数Zerodb0 ;零计数Start: push cs popds ;使数据段与代码段同段 cld leasi,firs ;取数据地址 movcx,Elements ;元素个数Statics: cmpbyte ptr [si],0 ;是否0? jnz$+6 ;不是 incZero ;是,...
|