Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: C ARM instructions

2005-02-22 by embeddedjanitor

--- In lpc2000@yahoogroups.com, "majid_mokhtari" 
<majid_mokhtari@y...> wrote:
> 
> 
> Hello , 
> 
> I am  a little old but new in using ARM micros.
> 
> I have bought  a MCB2100 Evaluation board and I need to find a
> resource to start learning special C language for ARM micros to be
> able to write mu own programs . 
> 
> as mu background ,I have enough experience on 8-bit micros and C .
> 
> I will thankful if anybody advise me .
> 
> thanks,
> 
> Majid

With 32-bit micros you very seldom use special C constructs - like 
you would with 8-bitters. For the most part, the C extensions in 8-
bitters are there because the 8-bitters cannot run normal C 
efficiently or to do things like support bit variables (like you get 
in 8051). For "grown up" CPUs like ARM, you don't need these 
extensions.

I prefer to keep all my C code completely clean of any "special" 
extensions. This allows the code to be tested in PC test harnesses 
where possible and allows the code to be reused easily across 
projects.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.