Hi, Is there an equivelan function or keyword to "swap"? Is there anyway to get the high or lower nibbles of a variable or swap them in C? any help would be appreciated. -=N
All that would be required is for C51 to detect a special case of the intrinsic function _crol_() when the number of bits to roll is known to be four. e.g.
c = _crol_(c, 4);
And you know: Cole Knows Rolls! (Ought to be able to get some sort of Nike or Gatorade endorsement ad outta this somehow.)