Now taking our algorithms from part one (the multi-branching) and putting them in a loop:
mov eax, (input value)
Again:
{Part 1 algorithm}
Target(N): ; make this the tail code for each branch
{Output (N)}
cmp eax, (end value) ; other kinds of loop end test are good too
jne Again
jmp EndT
EndT:
ret
What is the corelation between input values and the order the branches are executed? What interesting patterns can be generated?BitRAKE,
I'm not sure whether I live on the same planet with you :) Because I have 20,00% in this elections (yes, 1 vote for nice exercise :grin: ), I would like to ask you for some suggestion, how to break it. Maybe I'm asking for trouble, because I'm not real coder, but I'll try it! :mad:
I'm not sure whether I live on the same planet with you :) Because I have 20,00% in this elections (yes, 1 vote for nice exercise :grin: ), I would like to ask you for some suggestion, how to break it. Maybe I'm asking for trouble, because I'm not real coder, but I'll try it! :mad:
Did you do part 1?
Yes I did ;) Perhaps is there another way? I think evwr showed the only approach... If he didn't, tell me and I'll think more about the puzzle 1...