Re: mixing C and assembly
- From: steve <bungalow_steve@xxxxxxxxx>
- Date: Thu, 24 Apr 2008 08:14:00 -0700 (PDT)
On Apr 22, 4:50 am, Lax <Lax.Cla...@xxxxxxxxx> wrote:
Are there any situations where programming an embedded processor
"requires" at least some assembly code?
The new Cortex M3 is advertised by ARM not to require any assembly
code, even boot up or ISR's.
http://www.arm.com/pdfs/Cortex_M3_DS.pdf
http://www.arm.com/pdfs/IntroToCortex-M3.pdf
"The Cortex-M3 processor includes many features that enable faster
software development, with developers not required to write any
assembler code or have a deep knowledge of the processor and its
register set."
"By handling the stack operations in hardware, the Cortex-M3 processor
removes the need to write assembler wrappers that are required to
perform stack manipulation for traditional C-based interrupt service
routines,
making application development significantly easier."
"Traditionally ISRs require an assembler wrapper to handle stack
manipulation before and after the main C-based routine is called and
during start-up boot code. The Cortex-M3 processor handles all stack
manipulation in hardware, removing the need for the assembler and
enabling the developer to program just in C and without having to
learn exactly how the processor and all of the register
banks operate."
.
- References:
- mixing C and assembly
- From: Lax
- mixing C and assembly
- Prev by Date: Re: mixing C and assembly
- Next by Date: recommendation for dual core RISC/DSP and tools?
- Previous by thread: Re: mixing C and assembly
- Next by thread: china wholesale cheap nike air max 87 90 95 ltd tn shoes bapesta hogan sneakers china suppliers www.voguesonline.net
- Index(es):
Relevant Pages
|
|