We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
While using the simulator, the values of i in the serial window are shifted by left 8 bits.
#include "stdlib.h" #include "stdio.h" #include "reg51.h" void main (void) { unsigned char i; SCON = 0x50; TMOD |= 0x20; TH1 = 221; TR1 = 1; TI = 1; for (i = 0; i < 8; i++) { printf("%x\n", i); } }
Do you mean like how your mom and dad are related...?
related as in similar.Your question proves you are a moron. Get your head out of the gutter .... naah keep it there and stop throwing your trash here.
If you think this it the last time I reply to your insane babbles you are right.
Erik
PS To Per: I hope my post that this moron misunderstood, was clear enough that you, who have sense, could see that nothing was directed towards you.