it occurs to me many different solutions to that, you can use registers, you can use memory, you can use stack. Post what you have so far and we will gladly look for errors. Also check this instructions:
push
pop,
jnz,
jz,
If this is an _asm function embedded in C code, you can name your variables (like i, j and n) in C and then use them in your assembly code,
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.