Back to General discussions forum
This is driving me crazy. How to do a loop and jump from r0 to r15. I'm thinking about the following:
Special form of Conditional Jump is represented by ISZ (increment and skip if zero) instruction which is also a special form of increment on register:
ISZ increment register and jump to target address if register does not become zero This instruction may be helpful in creating loops running for given amount of iterations (like for-loop).
But I can't find any example online that would show how to implement this! Please help! Thanks.
In python- in loop you can change the step size .I might be wrong
nono, I'm talking about problem 195 using Assembly language for i4004. I don't understand how to work the ISZ command which I believe to be keep of looping through address
Have you seen http://e4004.szyc.org/iset.html ?
yes, I've seen that, but it doesn't really show the full syntax. I'm very unfamiliar with Assembly and I can't seem to find a solid example to show how to write that ISZ too. So it would be really helpful if someone can't help out