资料介绍
AVR的C语言和ASM混合编程资料AVR034: Mixing C and Assembly Code with IAR
Embedded Workbench for AVR
Features
Passing Variables between C and
Assembly Code Functions
main program and assembly modules to control time critical I/O functions.
Mixing C and Assembler Application Note
Calling Assembly Code Functions from
C Calling C Functions from Assembly Code Writing Interrupt Functions in Assembly Code Accessing Global Variables in Assembly Code
Introduction
This application note describes how to set up and use the IAR C-compiler for the AVR controller in prosjects including both C and assembly code. By mixing C and assembly designers can combine the powerful C language instructions with the effective hardware-near assembly code instructions.
This application note describes how to use C to control the program fl