Monday, January 16, 2017

I'm feeling loopy!

Tonight, Emu86 has grown up to where it can loop:

         mov eax, 10
loop: cmp eax, ebx
         je done
         inc ebx
         jne loop
done: mov ecx, 1

Yes, that jne could have been an unconditional jump... but I wanted to test jne!

No comments:

Post a Comment

On my tour of Hell...

I saw a man being continually beaten with a carpenter's hammer, blow after merciless blow. "How can this be just?" I asked ...