Trying to determine the behavior of the C51 compiler when performing a '>>' on a negative integer.
The C90 indicates that this is compiler implementation dependent.
Will the compiler shift the sign, or does it insert 0's?
Thanks in advance for any replies.
stevea said:I don't have access to the compiler
Of course you do:
https://www.keil.com/c51/demo/eval/c51.htm
Andy, unfortunately I cannot install any software on my work machine, it all has to be done through our IT department. I was hoping that the question could be answered more quickly by using this forum.
You seem to asking a lot of questions like this, all of which would benefit from having the tools installed.
If it's part of your job, shouldn't your employer be providing appropriate tools ?
EDIT
Sorry - it wasn't you! It was somebody else, but saying a very similar thing.