帮助主编译器!

2019-04-28 08:30
展开全部
stacksegmentparastackstackdb256dup(0)toplabelwordstackendsdatasegmentdatabufferdb16hdup(0)0,0,0,0,0dbzxcvbnm。
/,0,0,0db,+ 1230,0,0,0,0,0,0,0,0,0,0,0db 789-456。
Evenoldcs9dw?
oldip9dw?
str1dbabcdefghijklmnopqrstuvwxyz。
db0dh,0AH,$ str2db和其他新表单无法注册。
db0dh,0AH,$ str3dbtrearesomecloudsinthesky。
Db0dh,0ah,$ str4dbshealwayseatsherlunchatnoon。
db0dh,0AH,$ str5dbidonotlikeautumnandwinter。
crlfdb0dh,0AH,colondb $,$ evensaddrdwstr1,STR2,STR3,STR4,str5countdw0secdw0mindw0hoursdw0save_lcdw2dup(?
)Dataendscodesegmentassumecs:Code,DS:Data,ES:Data,SS:stackmainprocfarstart:Movax stackmovss,axmovsp,offsettoppushdssubax,axpushaxmovax,datamovds,axmoves,斧。movah,0。MOVAL,4。INT 21 H; movah,0 BH。movbh,0; movbl,4。int11hmovah,35hmoval,09hint21hmovoldcs9,esmovoldip9,bxpushdsmovdx,segkbintmovds,dxmovdx,offsetkbintmoval,09hmovah,25hint21hpopdsmovah,35hmoval,1chint21hmovsave_lc,bxmovsave_lc + 2,espushdsmovdx,segclintmovds,dxmovdx,offsetclintmoval,1chmovah,25hint21hpopdsinal,21handal,11111100bout21h,alfirst:movah,0moval,3int10hmovdx,offsetpromptmovah,9int21hmovsi,0Next:movdx,到saddr[如果]movah,09hint21hmovcount,0movsec,0movmin,0movhours,0stiforever:callkbgettestkbflag,80hjnzendintpushaxcalldispcharpopaxcmpal,0dhjnzforevermoval,0ahcalldispcharcalldisptimeleadx,crlfmovah,09hint21haddsi,2cmpsi,5 * 2jnenextjmpfirstendint:clipushdsmovdx,save_lcmovax,save_lc+2 movds,ax moval,1 ch movah,25 hint 21 h pop ds push ds mov dx,oldip 9 movax,old cs 9 mov ds,ax mo val,09 h mov ah,25 h int 21 h pop ds stiret main end end clint procnear push ds mov bx,bx leab x,countinc word ptr[BX]ereturnsubhours,12return:popdsstiiretclintendpinctprocnearmovwordptr[BX],0addbx,2incwordptr[BX]cmpwordptr[BX],60jneexitcallinctexit:retinctendpdisptimeprocnearmovax,mincallbindecmovbx,0moval:movah,0ehint10hmovax,seccallbindecmovbx,0moval:movah,0ehint10hmovbx,countmoval,55dmulblcallbindecretdisptimeendpbindecprocnearmovcx,100dcalldecdivmovcx,10dcalldecdivmovcx,1calldecdivretbindecendpdecdivprocnearmovdx,0divcxmovbx,0addal,30hmovah,0ehint10hmovax,dxretdecdivendpkbgetprocnearpushbxclimovbx,bufpt1cmpbx,bufpt2jnzkbget2cmpkbflag,0jnzkbget3stipopbxjmpkbgetkbget2:MOVAL,[缓冲液+ BX]incbxcmpbx,16hjckbget3movbx,0kbget3:movbufpt1,bxpopbxretkbgetendpkbintprocnearpushbxpushaxinal,60hpushaxinal,61horal,80hout61h,alandal,7fhout61h,alpopaxtestal,80hjnzkbint2movbx,offsetscantabxlatscantabcmpal,0jnzkbint4movkbflag,80hjmpkbint2kbint4:movbx,bufpt2mov[buffer + BX],alinbcxcmpbx,16hjckbint3movbx,0kbint3:cmpbx,bufpt1jzkbint2movbufpt2,bxkbint2,climoval,20hout 20h,alpopapopbxstiiretkbintendpdispcharprocnearpushbxmovbX,0 movah,0ehint10hpopbxretdispcharendpcodeendsendstart