Hello, am a new to objective-C and this is the question that I have.
This may be a bit confusing. I have two numbers, say
x = 56 = 00111000
y = 50 = 00110010
we can see that there a total of 4 different bits between them. we need to take those bits and fill up part of the 8 bit register. and in the same way take another two numbers ( say there are another 4 bits different in them ) then fill up the remaining part of the 8 bit register. Does anyone know how to do this using objective-c ?
This may be a bit confusing. I have two numbers, say
x = 56 = 00111000
y = 50 = 00110010
we can see that there a total of 4 different bits between them. we need to take those bits and fill up part of the 8 bit register. and in the same way take another two numbers ( say there are another 4 bits different in them ) then fill up the remaining part of the 8 bit register. Does anyone know how to do this using objective-c ?