|
Return Value: Attributes: See Also: Example void tst_crol (void) { a = 0xA5; b = _crol_(a,3); /* b now is 0x2D */ }
E-mail:
info@telesys.ru
#include
unsigned char _crol_ (unsigned char c, /* character to rotate left */
unsigned char b); /* bit positions to rotate */
Description:
The _crol_ routine rotates the bit pattern for the character c left b bits. This routine is implemented as an intrinsic function. The code required is included in-line rather than being called.
The _crol_ routine returns the rotated value of c.
reentrant, intrinsic
_cror_, _irol_, _iror_, _lrol_, _lror_
#include
char a;
char b;
Top of Page
© 1997-2000 Keil Elektronik GmbH and Keil Software, Inc. All rights reserved.
Ответы