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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
Jan Waclawek
06/13/07 15:58
Read: 656 times
Bratislava
Slovakia


 
#140728 - both translations are "strange"
Responding to: Frieder Ferlemann's previous message
Can the insiders please enlighten me, why

1. the Keil's used a RAM variable (r) while there are plenty of empty registers;

2. SDCC performs that nonsense mov r4,a?

I understand that making a compiler is tricky, but these seems to be a little bit off...

JW


List of 87 messages in thread
TopicAuthorDate
Sunday Quiz - Bit Flipper in C      Russ Cooper      06/09/07 22:38      
   Here's My 41 Bytes      Michael Karas      06/10/07 05:38      
      Very nice, but call it 43 (explained herein)      Russ Cooper      06/10/07 08:37      
   Sunday Quiz Update      Russ Cooper      06/10/07 09:23      
      OK Then 39 Bytes...      Michael Karas      06/10/07 11:09      
         Oh my goodness      Russ Cooper      06/10/07 13:06      
            If you want performance...      Michael Karas      06/10/07 15:24      
         More bytes, but ...      Christoph Franck      06/11/07 01:49      
   OK Then 38 Bytes      Russ Cooper      06/10/07 11:49      
      Comma      Chris Kelly      06/10/07 18:25      
         36! Holy cow! Very nice!      Russ Cooper      06/10/07 19:19      
            my 36      Jan Waclawek      06/11/07 05:42      
               Non-conforming      Chris Kelly      06/11/07 06:24      
                  Wow! 34! |<3WL! :-)      Jan Waclawek      06/11/07 06:37      
                     ???      Russ Cooper      06/11/07 10:09      
                        KEWL = cool in l33t :-) (worse than SMS...)      Jan Waclawek      06/12/07 04:38      
                  Wow is right!!! plus another 36      Russ Cooper      06/11/07 09:09      
         Broken      Jeff Post      06/12/07 10:44      
            C doesn't try to save you ...      Christoph Franck      06/12/07 11:15      
            Not Broken      Russ Cooper      06/12/07 11:45      
   look for samples of FFT code ...      Richard Erlacher      06/10/07 12:42      
   this is competing to make the worst possible      Erik Malund      06/12/07 13:30      
      it's certainly not the solution...      Jan Waclawek      06/12/07 14:15      
         correction      Erik Malund      06/12/07 14:21      
            Unless you're "porting" ...      Richard Erlacher      06/12/07 14:40      
               there are situations...      Jan Waclawek      06/13/07 01:17      
                  au contraire      Erik Malund      06/13/07 06:35      
                     overlayed variables      Jan Waclawek      06/13/07 07:03      
                        non-religious reasons and debunking some      Erik Malund      06/13/07 07:47      
                           I doubt that      Jan Waclawek      06/13/07 08:52      
                              now try      Erik Malund      06/13/07 09:04      
                                 with the error or without?        Jan Waclawek      06/13/07 09:13      
                                    the 49 is a compare the 48 is coding time      Erik Malund      06/13/07 11:22      
                                       47, 48, 49      Jan Waclawek      06/13/07 14:23      
                                          for such a cause as      Erik Malund      06/13/07 14:26      
                                          Still more      Dan Henry      06/13/07 15:01      
                                             one more point for Pascal      Jan Waclawek      06/13/07 15:47      
                                                Language and vocabulary contributions      Dan Henry      06/13/07 17:34      
                                                   Language and vocabulary contributions      Erik Malund      06/14/07 06:37      
                                                Yes, it's much more "self-documenting"      Richard Erlacher      06/13/07 23:51      
                                    Singular?      Dan Henry      06/13/07 13:07      
                                 well... around 5 minutes      Jan Waclawek      06/13/07 09:17      
                              It's not funny      Christoph Franck      06/13/07 09:09      
                                 this is why I don't like the "modern" over-windowe      Jan Waclawek      06/13/07 09:21      
         Tastes      Jeff Post      06/14/07 11:39      
      Skill in reading        Chris Kelly      06/12/07 16:21      
         in other words: because there are burglars detecti      Erik Malund      06/13/07 06:46      
            That's why one should use ASM and not 'C'      Richard Erlacher      06/13/07 15:04      
               nope      Erik Malund      06/13/07 15:17      
                  are you perfect?      Jan Waclawek      06/13/07 15:39      
                  That's why the documentation is necessary      Richard Erlacher      06/13/07 23:49      
                     the old argument from C haters      Erik Malund      06/14/07 06:42      
                     One page of comments per statement?        Russ Cooper      06/14/07 06:58      
                        If it's to be understood later on ...      Richard Erlacher      06/14/07 09:07      
                           if I have to explain my choice of syntax in C, the      Erik Malund      06/14/07 09:54      
                              The point is to show why, and not why-not      Richard Erlacher      06/14/07 17:54      
                                 I post, you 'reply'      Erik Malund      06/15/07 07:02      
                           Sorry, I still need more help on this      Russ Cooper      06/14/07 11:10      
                              Never had to do that ... and for good reason.      Richard Erlacher      06/14/07 18:23      
                                 Maybe just one unclear point now      Russ Cooper      06/14/07 20:21      
                                    Well, if it were up to me ...      Richard Erlacher      06/14/07 23:04      
                                       Thanks      Russ Cooper      06/15/07 07:46      
                                          I hope you're not missing my point ...      Richard Erlacher      06/15/07 11:37      
                                             You explained yourself clearly      Russ Cooper      06/15/07 12:03      
                                 Upside down      Jeff Post      06/14/07 20:36      
                                    Just look at the body of work ...      Richard Erlacher      06/14/07 23:26      
                                       Nature of commercial software      Jeff Post      06/15/07 11:46      
                                          Maybe it's more like a 747 vs. a bicycle      Richard Erlacher      06/15/07 13:16      
                                    on driving and "coding"      Jan Waclawek      06/15/07 01:46      
         even Mr. K agrees      Erik Malund      06/14/07 06:03      
   Post Mortem #1      Russ Cooper      06/13/07 09:20      
      I object      Erik Malund      06/13/07 11:24      
      Post Mortem #1.1      Frieder Ferlemann      06/13/07 13:24      
         both translations are "strange"      Jan Waclawek      06/13/07 15:58      
            Uninitialised?      Chris Kelly      06/13/07 17:10      
      20 bytes.      Christoph Franck      06/14/07 00:53      
         teaching the compiler...      Jan Waclawek      06/14/07 01:41      
            Maybe for HLLs, but not for C ...      Christoph Franck      06/14/07 02:02      
               I know this is the praxis....      Jan Waclawek      06/14/07 02:54      
         incorrect/incomplete statement      Erik Malund      06/14/07 06:45      
   Post Mortem #2      Russ Cooper      06/13/07 09:34      
      Vote: 1. Yes 2. Dont care      Jon Ledbetter      06/13/07 09:37      
      modify it!!!!      Erik Malund      06/13/07 11:26      
      vote      Jeff Post      06/14/07 12:04      
         methink      Jan Waclawek      06/14/07 12:31      
   its interesting that C      Bernd Nollmeyer      06/15/07 15:35      
      I like your proposal      Jerson Fernandes      06/15/07 22:46      

Back to Subject List