I need some indications to begin writing a program.
Write a compare routine to compare 64-bits values , using only two instructions.
Thanks for your indications !
It is possible, because the assignment is to "compare" - the assignment is not to act on the result of the comparison.
I'll send you the solution. There is one small sacrifice, though, but I think that will be acceptable.
Besides: Yasuhiko is right. It will be best to attempt doing this on the 32-bit ARM architecture, because you can't use conditional execution without adding an IT instruction to your code, that would make it 3 instructions.
My solution is still available, though, however, it will change the contents of one register (which you can freely choose).
Hello jensbauer.
you are so smart!
I should have a more flexible brain.
Best regards,
Yasuhiko Koumoto.
I only have a few good hints and tips.
I'm happy to admit that I've learned a lot of things from reading your discussions and posts.