AVR034: Mixing C and Assembly with IAR Embedded Workbench for A
Updated: Feb 24, 2005
Description
In many applications it is desirable to use C code for controlling the main program flow, and write part of the application in assembly. This application note describes how to call assembly functions from C, calling C functions from assembly, passing parameters between C and assembly functions, writing interrupt routines in assembly, and accessing global variables in assembly. Example code is included.
Categories
- Appnote : Getting Started Guides
| Documents |
Files |
AVR034 [97.90 KB] (Apr 29, 2003)
|
|
| Supported AVRs |
Supported Tools |
|
|
|
Log in to rate this item.