
;   do {
top_of_do:

;       do whatever you want

        dec     scr1       ; scr1 needs to change somehow in the loop
        jne     top_of_do  ; repeat if i is not 0
        ; substitute your own update and jCC
;   } while ( scr1 != 0 );

