hiclickme
Newbie level 6
Hi,
I used to write program in ASM lanuage. As it groups bigger, I get confused. Now I take the step to C.
Why?
...
TI=1
printf("why TI=1 before printf()?\n");
...
Thinking in ASM. I always "CLR TI" to make SBUF send. I think it should be
...
TI=0
printf("no matter what you type I print nothing cuz TI=0, haha...\n")
...
But it doens't work. Why? "TI=1" means it send done and it won't send as I think. Why?
Thanks alot!
I used to write program in ASM lanuage. As it groups bigger, I get confused. Now I take the step to C.
Why?
...
TI=1
printf("why TI=1 before printf()?\n");
...
Thinking in ASM. I always "CLR TI" to make SBUF send. I think it should be
...
TI=0
printf("no matter what you type I print nothing cuz TI=0, haha...\n")
...
But it doens't work. Why? "TI=1" means it send done and it won't send as I think. Why?
Thanks alot!