Can u help me in making a C++ code for simulating a bidirectional shift register??????
VarunV 0
Newbie Poster
Recommended Answers
Jump to PostDo you mean the assembly instructions rshit and lshift? The C equivalent are << and >> operators
int a = 123; int b = a << 1; // left shift by 1
All 3 Replies
Ancient Dragon 5,243
Achieved Level 70 Team Colleague Featured Poster
kt.varun 0
Newbie Poster
ArkM 1,090
Postaholic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.