gnupic: Re: [gnupic] PK2 resources for beginners who would like to achieve something


Previous by date: 25 Jun 2009 11:00:57 -0000 Begining PIC, Kerry Miller
Next by date: 25 Jun 2009 11:00:57 -0000 Re: [gnupic] Begining PIC, Peter Restall
Previous in thread: 25 Jun 2009 11:00:57 -0000 Re: [gnupic] PK2 resources for beginners who would like to achieve something, Tamas Rudnai
Next in thread: 25 Jun 2009 11:00:57 -0000 Re: [gnupic] PK2 resources for beginners who would like to achieve something, Peter Keller

Subject: Re: [gnupic] PK2 resources for beginners who would like to achieve something
From: Samuel Tardieu ####@####.####
Date: 25 Jun 2009 11:00:57 -0000
Message-Id: <2009-06-25-13-00-50+trackit+sam@rfc1149.net>

* Peter Keller ####@####.#### [2009-06-24 23:30:16 -0500]

| On Thu, Jun 25, 2009 at 11:47:54AM +0800, Darwin Pintado wrote:
| > My questions not only to you but to everyone is about using a programming
| > language. In your experience, which is better C or assemply when it comes to
| > developing embedded systems?
| 
| I personally like writing the things I need (for the PIC16/18 family)
| in raw assembly. I'm probably in the minority though... I just find that
| I pick the language most suited to the task at hand, and for my tasks,
| it usually means flipping pins on and off, and that is a primitive in
| assembly--so I use it.

As far as I am concerned, I prefer to use Forth (through my rforth1 compiler
for PIC18f) as it lets me define more high-level words. I always reread
the assembly output to check for optimization opportunities, and most of
the time it looks like what I would have written in assembly.

Check for example:

  http://www.rfc1149.net/blog/2006/10/24/rforth1-optimizations/

 Sam


Previous by date: 25 Jun 2009 11:00:57 -0000 Begining PIC, Kerry Miller
Next by date: 25 Jun 2009 11:00:57 -0000 Re: [gnupic] Begining PIC, Peter Restall
Previous in thread: 25 Jun 2009 11:00:57 -0000 Re: [gnupic] PK2 resources for beginners who would like to achieve something, Tamas Rudnai
Next in thread: 25 Jun 2009 11:00:57 -0000 Re: [gnupic] PK2 resources for beginners who would like to achieve something, Peter Keller


Powered by ezmlm-browse 0.20.