Re: mixing C and assembly



On Wed, 23 Apr 2008 20:56:28 -0500, Grant Edwards <grante@xxxxxxxx>
wrote:

On 2008-04-24, Paul Keinanen <keinanen@xxxxxx> wrote:

However, if you are developing embedded applications in C or
in other high level languages, you really have to understand
what machine instructions are generated and what resources are
needed for a specific construction.

<lecture>

I don't think it's possible to emphasize that last point
enough.

Especially if you're developing for a small processor you're
never going to be very successful if you don't know how the
code generation differs for logically equivalent blocks of code.

The situation is not so problematic with C, but if you insist of using
C++ in some embedded project, you _really_ have to understand, what
resources a specific construct will require on your platform.

Paul

.



Relevant Pages

  • Re: Go ahead. Stop programming. This ensures you from any mistakes.
    ... construction of which fails. ... Both in destructor, which is called by user, and in constructor, ... constructor should clear up all resources if an exception is thrown ... need them - but they help readability. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: MS Project - scheduling similar but unrelated activities
    ... On a construction project there are activities, like laying foootings, ... availability of resources (i.e. normal dependency-based scheduling). ... In a kitchen it's best to get the pastry work done before the main ...
    (microsoft.public.project)
  • Re: first time
    ... construction side but i dont have any idea in access can before this is first ... Jeff Conrad's resources page: ... Roger Carlson's tutorials, samples and tips: ...
    (microsoft.public.access.gettingstarted)