This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Timer in autoload mode

I use Keil sometimes and while using a timer in autoload mode, the TH0 is loaded with the calculated value but TL0 starts incrementing from 00 instead of the calculated value F0.Am I missing something while using or configuring the keil simulator?

Parents
  • <QUOTE>tammy: for the same reason that I have given up on you.</QUOTE>

    i remember tapeer as a stewdent. to teech him i used code like this

    
      while ( still_breathing )
      {
        send_message( to_tapeer, "read abi, page x, section y" );
    
        receive_message( from_tapeer, msg );
    
        if ( is_response_an_insult ( msg ) )
        {
           // msg prob from tapeer
    
           if (! is_response_like ( msg, "you are wrong, r0 is not preserved") )
           {
             // tapeer might at finally be listening
    
             if ( is_response_like ( msg, "im very good, you dont know anything") )
             {
               // tapeer found information but too stubborn to admit help was good
    
               break;
             }
           }
         }
       }
    
       do_some_real_work ( );
      }
    
    

    always yo're freind.

    Zeusti

Reply
  • <QUOTE>tammy: for the same reason that I have given up on you.</QUOTE>

    i remember tapeer as a stewdent. to teech him i used code like this

    
      while ( still_breathing )
      {
        send_message( to_tapeer, "read abi, page x, section y" );
    
        receive_message( from_tapeer, msg );
    
        if ( is_response_an_insult ( msg ) )
        {
           // msg prob from tapeer
    
           if (! is_response_like ( msg, "you are wrong, r0 is not preserved") )
           {
             // tapeer might at finally be listening
    
             if ( is_response_like ( msg, "im very good, you dont know anything") )
             {
               // tapeer found information but too stubborn to admit help was good
    
               break;
             }
           }
         }
       }
    
       do_some_real_work ( );
      }
    
    

    always yo're freind.

    Zeusti

Children
No data