Simple loop in NASM from C -


im trying work nasm c , having hard time basics of nasm. im trying convert simple while loop

while(j < k) {k = k + 1;  j = j + 2;  count = count + 1; } 

i know

loopee:  ???? add dword [k], 1 add dword [j], 2 add dword [count], 1 

but i'm not sure how structure while loop loops until j no longer less k.

a while loop if statement, except @ bottom of body unconditionally jump if (the start of loop).