Go to GlobalSpec.com Home
Free Registration 
Download Engineering Toolbar
GlobalSpec Home
Find:      Advanced Search >>
Toolbar The Engineering Toolbar
The Ultimate Resource for Engineering and Technical Research. (Learn More)
Embedded Assembly Routines into C Language Using a Floating Point Routine as an Example
Find Products & Suppliers related to
Embedded Assembly Routines into C Language Using a Floating Point Routine as an Example
 
Research
Embedded Assembly Routines into C Language Using a Floating Point Routine as an Example
From ww1.microchip.com
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. Keywords:
 


Products & Services
Microprocessor and IC programmers, compilers and debuggers are programs that translate high-level language codes into assembly (machine) code, or track and correct errors (bugs) in program code.
Programmable logic controllers (PLCs) are the control hubs for a wide variety of automated systems and processes. They use a wide variety of inputs and outputs and provide network capability.
Arithmetic logic units (ALU) perform arithmetic and logic operations on binary data inputs. In some processors, the ALU is divided into two units: an arithmetic unit (AU) and a logic unit (LU).
Digital signal processors (DSPs) are specialized microprocessors designed specifically for digital signal processing, usually in real-time. DSPs can also be used to perform general-purpose computations, but are not optimized for this function.
Language translation services translate documents, web sites, product information and personal communications into one more human languages.
Back to Top

Product Announcements
GSE Scale Systems - User C Development Kit
GSE's User C Development Kit maximizes capabilities and reduces development time by allowing application developers the ability to write and compile routines in the C programming language. This... (read more)
Kozio, Inc. - Custom Diagnostics for Proprietary ICs
Kozio provides a full complement of professional services, helping product development teams address all levels of embedded system diagnostic requirements. (read more)
Delta Tau Data Systems, Inc. - The Power PMAC Motion and Machine Controller
A world first in motion and machine control technology! Chatsworth, CA – September 8, 2008 – Delta Tau Data Systems, the technology leader in multi-axis programmable motion control... (read more)
Tecplot, Inc. - O-Matrix Integrated Computing Environment
O-Matrix is a high-performance, matrix oriented language and integrated environment for analyzing data, creating simulations, visualizing results, and building turnkey scientific and engineering... (read more)
Acromag, Inc. - User-configurable Virtex®-II FPGA PMC modules
with conduction cooling and differential digital I/O New PMC I/O modules combine the ruggedness of a conduction-cooled circuit board with customizable FPGA computing while maintaining a price point... (read more)
Delta Tau Data Systems, Inc. - Power PMAC Motion and Machine Controller
Delta Tau Data Systems, the technology leader in multi-axis programmable motion control solutions, today announced the pre-production release of the Power PMAC controller, representing a world first... (read more)
Mouser Electronics, Inc. - Microchip Technology’s PIC32 Family
Mouser Electronics, Inc., known for its rapid availability and introduction of the newest products, today announced it is stocking the PIC32 family of 32-bit microcontrollers (MCUs) from Microchip... (read more)
Acromag, Inc. - Acromag releases PMC analog I/O
with a re-configurable FPGA for applications requiring specialized signal processing. New customizable I/O modules perform high-speed, high-resolution A/D and D/A functions under the control of a... (read more)
Acromag, Inc. - New PMC I/O modules simplify the use of
reconfigurable Virtex-5 FPGAs for high-performance logic applications. Acromag's new PMC I/O modules provide a Virtex-5 FPGA for fast processing of custom logic routines supported by large banks of... (read more)
Baldor Electric Company - NextMove-ESB2 panel-mounting box
Today, Baldor Electric Company (NYSE:BEZ) launches a new version of a popular 'all-in-one' motion automation solution supplied in a rugged and ready-to-use packaged form. Offering control for servo... (read more)
Back to Top

Topics of Interest
This application note presents an implementation of the following floating point math routines for the PICmicro microcontroller families: float to integer conversion,integer to float... (Read More)
This application note presents an implementation of the following floating point math routines for the PICmicro microcontroller families: float to integer conversion,integer to float... (Read More)
It is often necessary to output a floating point number to a display. For example, to check calculations, one might want to output floating point numbers using the PICmicro ® microcontrollers serial... (Read More)
This application note presents implementations of the following math routines for the Microchip PICmicro microcontroller family: square root function, exponential function, base 10 exponential... (Read More)
This application note presents implementations of the following math routines for the Microchip PICmicro microcontroller family: square root function, exponential function, base 10 exponential... (Read More)
Back to Top
See more product announcements for Microprocessor and IC Programmers, Compilers and Debuggers
Windows Vista for Embedded Systems

Windows Vista for Embedded Systems
Microsoft Windows Embedded


Microsoft Windows Embedded

Microsoft Windows Embedded
Microsoft Windows Embedded


IDX Variable Constraint System–Plug-in for AutoCAD

IDX Variable Constraint System–Plug-in for AutoCAD
IMSI/Design


11 See more product announcements for Microprocessor and IC Programmers, Compilers and Debuggers



Home   |   About GlobalSpec   |   Advertise With Us   |   Site Map   |   Top Categories   |   Terms of Use
Privacy Policy   |   Link To Our Site   |   Submit a Site   |   Recommend This Site
©1999-2008 GlobalSpec.  All rights reserved.  GlobalSpec, the GlobalSpec logo, SpecSearch, The Engineering Search Engine and The Engineering
Web are registered trademarks of GlobalSpec, Inc. The Engineering Toolbar and DesignInfo are service marks of GlobalSpec, Inc.
No portion of this site may be copied, retransmitted, reposted, duplicated or otherwise used
without the express written permission of GlobalSpec Inc.   350 Jordan Rd, Troy, NY, 12180