Date: Mon, 1 Feb 1999 03:01:06 +0100 From: anarko X-Mailer: The Bat! (v1.19) S/N 9FA473A9 X-Priority: 3 (Normal) Message-ID: <11125.990201@flashback.net> To: djgpp AT delorie DOT com Subject: can i do bit rotation in C? References: <19990131193159 DOT 13889 DOT 00002566 AT ng142 DOT aol DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com hi, i've only coded ansi C for 3 days or so, but i've coded other programming languages before, so i'm learning quick. one thing i want to do is rotate a char value's bits, like the x86 assembly instruction ROR/ROL does. is this possible with an operator, or do i have to use inline assembly for that? /anarko