Hi, I have a Problem with the Shift-Operator >> within my C-Code. I'm using PK166 V4.2 The following code should set the Variable n to 0.
void main() { unsigned char n; unsigned char p; // dummy n=255; n=n>>22; p=0; // dummy }
MOV R5, #0x16 // incorrect Opcode??? SHR R4,R5
"I am so happy that you found an opportunity to critisize me again, the wait must have been terrible." I have no desire to criticise you. If you were to spend a little more time reading and understanding things there would be no need. "I'll let the readers decide who is "ludicrous"." It seems they already have.