Answer the question
In order to leave comments, you need to log in
How to limit bit shifting?
volatile u8 m_d[]={0,0,0,0b00100,0,0,0};
case 4: while(i<7){
if (m_d[i] > 0)
{
m_d[i] = (m_d[i]<<1);
}
i++;
}
I need to persuvate 1 to the least significant bit when it goes out of bounds
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question