japz87
Newbie level 4
- Joined
- May 8, 2010
- Messages
- 5
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Location
- Monterrey, NL, Mexico
- Activity points
- 1,321
Hi there... I'm using C18 compiler and came up with this curiosity...
What would be more efficient for a shift operation, for example, if I want to shift a register 7 bits to the left...
register <<= 7;
OR
register *= 128;
thanks!
JAPZ
What would be more efficient for a shift operation, for example, if I want to shift a register 7 bits to the left...
register <<= 7;
OR
register *= 128;
thanks!
JAPZ