Analog Devices EE-32 Language Extensions Memory Storage Types Application Note

This document is a guide on using Analog Devices' DSP, audio, and video components. It covers language extensions, memory storage types, ASM, and inline constructs. The document provides examples and guidelines to help users better understand and program ADSP processors.


Analog Devices EE-32 Language Extensions Memory Storage Types Application Note - cover page
Brand
Analog Devices
Category
Other Electronics
Document type
Application Note
Language
English
Pages
5
File format
PDF
File size
89 KB
Published
03 August, 2012
Updated
28 September, 2023
MD5 checksum
2D2BD60D79B7941EBEF267581F771E80

About this manual

This document serves as a guide for users programming Analog Devices 21xx-DSPs using the G21 C compiler. It focuses on specific language extensions that deviate from the ANSI C standard to optimize performance and utilize the processor's architecture. The note provides guidelines and code examples rather than a complete project.

What's inside

  • Language Extensions
  • Dual Memory Support
  • Inline Function Support
  • Inline Assembly Language Support
  • Pointer Declarations
  • Compiler Switches

Specifications

Processor Family21xx-DSPs
Compiler VersionG21
Architecture TypeModified Harvard

Frequently asked questions

What memory storage types are supported by the G21 compiler?

The compiler supports separate program and data memory spaces using the keywords pm and dm.

How can assembly language be used within C functions?

The asm() construct allows coding assembly language instructions directly within a C function.

What is the purpose of the volatile keyword with asm?

It prevents the asm() instruction from being deleted or moved significantly by the compiler.

Download PDF (89 KB)

More Analog Devices Manuals


View all Analog Devices manuals →