Does c have circular shift operators, Computer Engineering

No C don't have circular shift operator. (Part of the reason why that is the sizes of C's types aren't precisely described----but a circular shift makes most sense when applied to a word of a particular known size.)

You can execute a circular shift using two regular shifts and a bitwise OR:

(x << 13) | (x > >3) /* circular shift left 13 in 16 bits */      

 

 

Posted Date: 4/8/2013 3:10:43 AM | Location : United States







Related Discussions:- Does c have circular shift operators, Assignment Help, Ask Question on Does c have circular shift operators, Get Answer, Expert's Help, Does c have circular shift operators Discussions

Write discussion on Does c have circular shift operators
Your posts are moderated
Related Questions
How to detect overflow condition An overflow condition can be notice by observing the carry into the sign bit position and the carry out of sign bit position. If this carries a

Explain briefly how firewalls protect network.       A firewall is simply a program or hardware device that filters the information coming by the Internet connection into your

Define in brief about the Database Management Systems Databases (Database Management Systems - DBMS) Databases are used to organise and collect information. Most databas

Use tabs to bring some structure into your function body if(nPos > 1) then nRetrun = True else nRetrun = False end if

These days, they're pretty much obsolete; they're definitely system-particular. They had to do with 16-bit programming under MS-DOS and perhaps some early on versions of Windows. I

The general method for constructing the parameters of the RSA cryptosystem can be described as follows: Select two primes p and q Let N = pq and determine ∅ (N) = (p - 1

Q. Origin of RISC? In the 1980s a new philosophy developed having optimizing compilers which could be used to compile 'normal' programming languages down to instructions which

Simulated Annealing: One way to get around the problem of local maxima, and related problems like ridges and plateaux in hill climbing is to allow the agent to go downhill to

What is application analysis? The purpose of analysis is to understand the problem so that a correct design can be constructed. The application analysis focuses on major applic

Define the Don't Care States - Simplifying K Maps? The Truth table specifications for a logic function may not to include all possible combinations of the input binary digits for