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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/22/05 14:28
Modified:
  07/22/05 14:29

Read: times


 
#97820 - if anyone is interested
in the discussion of the "'51 university" I kind of suggested that someone could post a puzzle on fridays and post the solution next friday. If anyone want to comment on the idea feel free to comment, the below "do not post" certainly does not apply to commenting on the ides.

this is a trial baloon

The idea is not to start a discussion of the problem so do not post solutions

The puzzle

unsigned char xdata * data fetch_ptr;
unsigned char xdata * data in_ptr;

part of the ISR
if (RI)
{
 *in_ptr = SBUF;
 in_ptr++;

part of the main
while (in_ptr > fetch_ptr)
{
  my_byte = *fetch_ptr;
  fetch_ptr++;

What is wrong [in the code/logic, NOT in the syntax (which may be wrong)]. The pointers ARE initialized etc, the fix for the problem will attach to the lines shown.

Erik



List of 29 messages in thread
TopicAuthorDate
if anyone is interested            01/01/70 00:00      
   The answer is...            01/01/70 00:00      
      absolutely            01/01/70 00:00      
         -1 Gimme Code ;-)            01/01/70 00:00      
            :-)            01/01/70 00:00      
               spelled out            01/01/70 00:00      
                  first puzzle            01/01/70 00:00      
                     to be finely honed            01/01/70 00:00      
                        Honing            01/01/70 00:00      
                           no need            01/01/70 00:00      
                           It'll happen            01/01/70 00:00      
                              methinks that, if this is to go            01/01/70 00:00      
                              not broken, but partially shown            01/01/70 00:00      
   IF YOU ARE INTERESTED in trying to solve            01/01/70 00:00      
      Yes            01/01/70 00:00      
         yes            01/01/70 00:00      
      Yes, and... code competitions?            01/01/70 00:00      
         yes Craig, but            01/01/70 00:00      
            code competition            01/01/70 00:00      
      Yes            01/01/70 00:00      
      Yes            01/01/70 00:00      
   Yes            01/01/70 00:00      
   I see the problem            01/01/70 00:00      
      Oleg - e-mail me you have the address            01/01/70 00:00      
         Yes!            01/01/70 00:00      
   here we go            01/01/70 00:00      
      Very Nice..            01/01/70 00:00      
      I am impressed            01/01/70 00:00      
   I'm a beginner; I need assistance            01/01/70 00:00      

Back to Subject List