
;   do {
top_of_do:

;       do whatever you want

        dec     rax         ; rax needs to change somehow in the loop
        jne     top_of_do   ; repeat if i is not 0
;   } while ( rax != 0 );

