Where did you get that example?
For that case, yes "a" would need to overflow until it hit 0 to fall through the "jnz a -2" instruction.
How would the above mentioned scenario work if I'm increasing 'a' by one while 'jnz a -2' would continue to jump back to 'inc a' until a becomes 0. I might have misunderstood the functionality of jnz. Can you please explain.
WRT jnz, yes jump back to inc a until a becomes 0.
This comment is hidden because it contains spoiler information about the solution
Loading collection data...
Where did you get that example?
For that case, yes "a" would need to overflow until it hit 0 to fall through the "jnz a -2" instruction.
How would the above mentioned scenario work if I'm increasing 'a' by one while 'jnz a -2' would continue to jump back to 'inc a' until a becomes 0. I might have misunderstood the functionality of jnz. Can you please explain.
WRT jnz, yes jump back to inc a until a becomes 0.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution