Clever, but I prefer the parent's proposal:
return (0x43201 >> x*4) & 7
It's more understandable and the number of instructions is the same. return (0x43201 >> x*4) & 7
It's more understandable and the number of instructions is the same.No comments yet.