Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/18/08 05:21
Read: times


 
#157542 - Are you sure you want it outside of the loop?
Responding to: ???'s previous message
Hi Frieder,

Yeah, I left DspSelect to focus on the major.

All code will be like this:
#define EndDspTab 16
unsigned char DspTabCount = 0;
unsigned char xdata * DspTabPoint;
xdata unsigned char ADspTab _at_ 0x5000;
void main()
{
....
while(1)
{
  DspTabPoint = &ADspTab;
  do {
    if (*DspTabPoint == 0)
      break;    
    DspTabPoint++;
    DspSelct();
  } while ( ++DspTabCount != EndDspTab);

}


Thanks and Best regards,
Cuong,

List of 10 messages in thread
TopicAuthorDate
Convert Assembly routine to C using Keil.            01/01/70 00:00      
   no guarantee this will fit your purpose...            01/01/70 00:00      
      Assembly to C and then back again            01/01/70 00:00      
      Double loop            01/01/70 00:00      
         yes, you are right            01/01/70 00:00      
      Target processor name.            01/01/70 00:00      
         Microprocessor name.            01/01/70 00:00      
            initializing global variable to zero            01/01/70 00:00      
               Are you sure you want it outside of the loop?            01/01/70 00:00      
   What is the target processor name.??            01/01/70 00:00      

Back to Subject List