do-while
while 的汇编代码WHILE:mov ax,axjl WHIKE
while
while 的汇编代码WHILE:cmp ax,10jge WHILE_ENDmov ax,axjmp WHILEWHILE_END
平衡堆栈(代码示例)
;================================;保留调用前的栈底push bp;提升堆栈mov bp, spsub sp, 40h;保留现场push espush dspush sipush dipush bx;开始填充缓冲区mov ax, 0cccchmov cx, 20h;mov ax,spmov es,ax;lea ax,[bp-40h]mov di,axrep stosw;函数的核心功能;结束比较***********************************************ENDStrStr:;恢复现场pop bxpop dipop sipop dspop es;降低堆栈mov sp, bppop bpret
