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
Mainframe computer Mainframe computers are very large, often can fill an entire room. They can store a large amount of information, can execute many tasks at the same time, can

Question: (a) (i) Explain properties of the WebService attribute. (ii) Discuss three properties of the WebMethod attribute. (b) What are WSDL documents used for? (c)

Add -20 to +26 by using 2's complement ? Ans. Firstly convert the both numbers 20 and 26 in its 8-bit binary equivalent and determine the 2's complement of 20, after that add -

(i) Compiler and Interpreter: These are two types of language translators. A compiler changes the source program (user-written program) into an object code (machine language b

What is a SAP system? The union of all s/w components that are assigned to the similar databases is known as a SAP system.

Define miss penalty? The extra time required to bring the desired information into the cache is known as miss penalty.


Q. Use of Intrinsic Functions in FORTRAN? HPF initiates some new intrinsic functions also to those defined in F90. The two mainly often used in parallel programming are system

An operating system contains 3 user processes each requiring 2 units of resource R. The minimum number of units of R such that no deadlocks will ever arise is? Ans. The minimum

Q. How to use an Assembler? Symbolic instructions which we code in assembly language is called as- Source program. An assembler program translates source program in machine