www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/31/21:01:17

Date: Mon, 1 Feb 1999 03:01:06 +0100
From: anarko <anarko AT flashback DOT net>
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
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 <anarko AT flashback DOT net>


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019