Re: A89: TIOS functions disobey register conventions!


[Prev][Next][Index][Thread]

Re: A89: TIOS functions disobey register conventions!



>>     while (!(kbhit()));
>>}
>> >>
>>  Wouldn't the "while (!(kbhit()))" crash, since there isn't anything for
it
>>to perform in the while loop.

No because he has a ; after while(). Anythign between the while() and the ;
is the body of the while loop. If there is no body, it just performs what is
between () in while(). This is one of the advantages of C IMHO.

-Josh