Forum Menu




 


Log in Problems?
New User? Sign Up!

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
Version Presented by Price Rating
AVR034 (Find Distributor) Free! Rank: 1
Documents Files
  • application/pdf AVR034 [97.90 KB] (Apr 29, 2003)
Supported AVRs Supported Tools
  • none
  • none
Log in to rate this item.