How to Compare the Numerical value of the Second-lowest Byte of L to the Second Lowest Byte of M?
I have a pseudo-random number generator, but I am unsure how to sort the bytes. I need to find the second lowest byte of "L" and "M" and then increment the value of the variable "lHigh" or "mHigh" depending on which one has the greater "second-lowest" byte.
So, for example, the second-lowest Byte of the 32-bit Hex number 0xAABBCCDD would be the “CC” value.
If L is higher than M i would want to increment the variable "lHigh"
So basically, I am comparing bits 8-15 of L to bits 8-15 of M.