does anybody knows what's the syntax for double looping in TASM? I remember you use cx with push and pop function but I don't 开发者_如何学Goremember how.
Thank you very much.
Here's how
mov cx, 02 ; loop twice
cc: ; outer loop
push cx ; store outer cx
mov cx,03 ; loop thrice
bb: ; inner loop
;do stuff
loop bb
pop cx ;get outer cx
loop cc
that's basically it
精彩评论