Part Name
AN669
Other PDF
no available.
PDF
page
7 Pages
File Size
63.2 kB
MFG CO.

Microchip Technology
INTRODUCTION
With the advent of MPLAB-C, the Microchip C-compiler, many PICmicro users need to embed existing assembly language routines and/or Microchip application notes into C. This application note explains how to embed an assembly language program into MPLAB-C, version 1.10, and the issues therein. For example, embedding interrupt save and restore must be done using assembly language. Also, critical timing routines may require assembly. The 32-bit floating point multiply
routine from AN575 is used to illustrate this process. The remaining 32-bit floating point math routines are embedded into individual C functions and are included in the file accompanying this application note.