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

Back to Subject List

Thread Closed: Off-topic

???
10/01/06 00:08
Read: times


 
#125473 - Bit Banging
Responding to: ???'s previous message
Richard Erlacher said:
The first time I saw the 'C' interpreter marketed was at the 1986 COMDEX. I suppose it had been around before then, but...

If you want a 'C' interpreter, you can get one, and, in fact, there's even an embedded 'C' interpreter product of some sort. Just GOOGLE on

Now, 'C' isn't a language I have ever liked or used extensively. However, it is widely popular among those who actually do useful work on computers and microcontrollers. My reference to 'C' compilers written in 'C' is that you then have a language compiler that can compile itself, therefore showing that it's complete.

When your BasCom (we used to use a BASCOM product from Microsoft back in the '70's and '80's, under CP/M and later under MSDOS) to write a compiler for BASIC, you'll quickly see why nobody here supports your position. However, you've wandered into a region where nobody fools himself into believing that, just because you CAN do something, you should.

Without ASM support, it's hard to squeeze the last drop of performance or capability out of a microcontroller. If you don't do that, then you're cheating your employer, because you could probably do with less of something. That something usually means cost, and the boss likes things to be cheap, doesn't he?

I haven't used BASIC for anything in a decade or more. I once had a colleague who was one of the original implementors of BASIC at GE where he and others developed the well-known GE timeshared BASIC that became popular throughtout the educational world. He was in charge of the system used by our accounting department which had computers whose assembly language was BASIC. It executed (interpreted) BASIC directly.

My former business partner wrote countless applications under CP/M and MSDOS in BASIC, and subsequently compiled them with BASCOM. That hasn't made me love BASIC, though. I use ASM.



RE


Hi Richard,

Yes, I can agree with you on most points but slightly contradictory on others. I must point out that interpreters are not good in my opinion. My original point precisely is easy to use compilers hence bascom 8051 and yes I also fill some gaps with asm particularly when extracting numbers from serial A/D's, but it's usually consist's of less than 20 lines of asm code, commonly known as bit banging, i.e., spi inteface'c etc, even though bascom has spi and IIC command's built in.

Best Regards
Darren




List of 155 messages in thread
TopicAuthorDate
Assembler is dead            01/01/70 00:00      
   2K            01/01/70 00:00      
      Assembler is dead            01/01/70 00:00      
   the problem is that BASIC isn't            01/01/70 00:00      
      Assembler is dead            01/01/70 00:00      
         if you're happy with a few-kHz update rate, maybe            01/01/70 00:00      
   Reports of my demise are greatly exagerrated            01/01/70 00:00      
      There is other stuff            01/01/70 00:00      
         Assembler is dead            01/01/70 00:00      
            i thought basic had dies a long time ago            01/01/70 00:00      
               to goto or not to goto            01/01/70 00:00      
                  you're right about 'C'            01/01/70 00:00      
                     dead horse            01/01/70 00:00      
                        ..or used the syntax            01/01/70 00:00      
                     incomplete statement            01/01/70 00:00      
                  Not the hammer's fault if you can't drive a nail            01/01/70 00:00      
               No longer true, anyhow            01/01/70 00:00      
                  Structures in the mind            01/01/70 00:00      
                     structured programming            01/01/70 00:00      
                     EVEN Pascal            01/01/70 00:00      
                        ISO            01/01/70 00:00      
               The new interperters are better            01/01/70 00:00      
      Assembler is dead            01/01/70 00:00      
         Its sounds to me like            01/01/70 00:00      
            My thoughts too            01/01/70 00:00      
         Nothing smart            01/01/70 00:00      
            Assembler is dead            01/01/70 00:00      
               Basic is (brain) dead            01/01/70 00:00      
               I see the interest in PID controllers!            01/01/70 00:00      
                  Now we know what happened to his brain!            01/01/70 00:00      
                     See here Richard            01/01/70 00:00      
                        No, but "good" and "alive" don't apply            01/01/70 00:00      
               you are evidently smoking right now            01/01/70 00:00      
   Not at all!            01/01/70 00:00      
      Assembler is dead            01/01/70 00:00      
         Now your're talking!            01/01/70 00:00      
            Assembler is dead            01/01/70 00:00      
               Dead            01/01/70 00:00      
                  Here you go Andy...            01/01/70 00:00      
                     If you can\'t tolerate disagreement, SCRAM!            01/01/70 00:00      
                     Some points            01/01/70 00:00      
                     Credibility            01/01/70 00:00      
                        Here you go Andy...            01/01/70 00:00      
                           ANSI and ISO            01/01/70 00:00      
                              try GOOGLing on \'C\' interpreter            01/01/70 00:00      
                                 Here you go Richard            01/01/70 00:00      
                                    Perhaps it's a compiler, but how good?            01/01/70 00:00      
                                       Here Richard            01/01/70 00:00      
                                          Irrelevant            01/01/70 00:00      
                                          OK, so you can measure the width of the pulse...            01/01/70 00:00      
                                             Weird questions abound            01/01/70 00:00      
                                                Well, there's one task for which BASCOM's useless            01/01/70 00:00      
                                                   Here Richard            01/01/70 00:00      
                                                      Assembler is dead???            01/01/70 00:00      
                                                Well, I know a lot of hardware devices that do            01/01/70 00:00      
                                          how about an answer            01/01/70 00:00      
                              is that good or bad?            01/01/70 00:00      
                                 Yes.            01/01/70 00:00      
                                    Hi Jan and Steve,            01/01/70 00:00      
                           Nit picking?            01/01/70 00:00      
                              Here Andy,            01/01/70 00:00      
                                 Just a minute, Darren ...            01/01/70 00:00      
                                    Here Richard            01/01/70 00:00      
                                       Respect            01/01/70 00:00      
                                       Degree            01/01/70 00:00      
                                 what about the price pof the result?            01/01/70 00:00      
                        credibility - or not            01/01/70 00:00      
                           nope ... he's just stoned ...            01/01/70 00:00      
                           correct, why the hesitation            01/01/70 00:00      
                              LOL, good to have you back Erik            01/01/70 00:00      
                     Forum            01/01/70 00:00      
                        Hi All,            01/01/70 00:00      
                           Ouch            01/01/70 00:00      
                           Compiler Wars            01/01/70 00:00      
                              Here you go Andy...            01/01/70 00:00      
                                 Counter example            01/01/70 00:00      
                                    Here you go Andy...            01/01/70 00:00      
                                       living proof that drugs make you ... stupid, maybe            01/01/70 00:00      
                                       why would anyone            01/01/70 00:00      
                                 with 90% of the responders being rank amateurs, wh            01/01/70 00:00      
                           ah, now we are getting somewhere            01/01/70 00:00      
                     CPU design            01/01/70 00:00      
                        it's pretty clear he means applications            01/01/70 00:00      
                        Super CPU            01/01/70 00:00      
                           non sequiter            01/01/70 00:00      
                              Jeff's super CPU            01/01/70 00:00      
                                 You lack the talent for sarcasm            01/01/70 00:00      
                                    Here Jeff            01/01/70 00:00      
                                       Darren, you DO need a spell-checker!            01/01/70 00:00      
                                       if you heard what I thought I said            01/01/70 00:00      
                                 EE students are required to do that.            01/01/70 00:00      
                                 Oh, my            01/01/70 00:00      
                     this is getting more and more ridiculous            01/01/70 00:00      
               the oner thing that is consistent in your posts            01/01/70 00:00      
            I elaborate, Andy            01/01/70 00:00      
         what about 600.000 units            01/01/70 00:00      
   I see nothing useful            01/01/70 00:00      
   #ASM ... #ENDASM            01/01/70 00:00      
   wonder what BasCom was written in?            01/01/70 00:00      
      we need a BasCom written in BASIC!            01/01/70 00:00      
         Hi Richard,            01/01/70 00:00      
            Compiler design            01/01/70 00:00      
               Thank you, Steve            01/01/70 00:00      
               interpreting            01/01/70 00:00      
            It's been around since the early '80's            01/01/70 00:00      
               Bit Banging            01/01/70 00:00      
         not a compiler but an interpreter            01/01/70 00:00      
   Delphi            01/01/70 00:00      
   Basic is Dead            01/01/70 00:00      
      Go Forth my child            01/01/70 00:00      
         Going Forth            01/01/70 00:00      
            Here Richard            01/01/70 00:00      
               too much of that weed, fer shurr!            01/01/70 00:00      
                  Buggy compilers            01/01/70 00:00      
                     Maarten Brock would be interested in that!            01/01/70 00:00      
                        SDCC has its Darrens            01/01/70 00:00      
                     free != buggy            01/01/70 00:00      
                        What a gamble!!            01/01/70 00:00      
                           I don't gamble            01/01/70 00:00      
                           Darren, you MUST be stoned!            01/01/70 00:00      
                              Here Richard            01/01/70 00:00      
                     usually is a big word            01/01/70 00:00      
               No            01/01/70 00:00      
                  Really?            01/01/70 00:00      
                     Thanks for the support, Kai            01/01/70 00:00      
                     It's True            01/01/70 00:00      
                        Hey Ian, here you go            01/01/70 00:00      
                           Darren, you've got to learn to read and write.            01/01/70 00:00      
                           Duh!            01/01/70 00:00      
                              Interpreters, Hey Ian and Richard            01/01/70 00:00      
                                 LOL            01/01/70 00:00      
                        Cool!            01/01/70 00:00      
                  let's not go overboard, Ian            01/01/70 00:00      
                     Crap            01/01/70 00:00      
         so, now we know            01/01/70 00:00      
   Hammer is dead            01/01/70 00:00      
      Would'nt he look better with a screwdriver?            01/01/70 00:00      
         Or, have a look at this one            01/01/70 00:00      
            Will this invention lead to a come back of hammer?            01/01/70 00:00      
      GOOD POINT!            01/01/70 00:00      
   Dead??            01/01/70 00:00      
   Interesting Google results            01/01/70 00:00      
      HHHmmmm unemployed which is not surprising            01/01/70 00:00      
         lets not go totally \"ad-hominem\"            01/01/70 00:00      
            logical fallacies            01/01/70 00:00      
               maybe he's not a complete idiot ...            01/01/70 00:00      
                  a danish proverb translated            01/01/70 00:00      
                     The meaning of the proverb...            01/01/70 00:00      
                        I think the proverb also is about that, neverthele            01/01/70 00:00      
      Hey Jeff            01/01/70 00:00      
         The problem with dopeheads            01/01/70 00:00      
            Here Russel            01/01/70 00:00      
               Darren, you still need a spell-checker!            01/01/70 00:00      
   rotating at 100.000 RPM in the grave            01/01/70 00:00      
      Hi Erik            01/01/70 00:00      

Back to Subject List