And assuming that "binary manipulation" means logical operators, it is difficult to do arithmetic because you have to handle all the borrowing and carrying yourself.
Cool. So in machine code this is more efficient than using a subtraction, right?
Does the uC actually use 2's complement internally to do the subtraction? Any way I could have access to that as with other logical operators?
casemod:
Cool. So in machine code this is more efficient than using a subtraction, right?
Does the uC actually use 2's complement internally to do the subtraction? Any way I could have access to that as with other logical operators?
Addition and subtraction are just as efficient as any of the logical operators, multiply and divide are different stories.