Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 4 of 4

Thread: assembly language with teensyduino

  1. #1

    assembly language with teensyduino

    Is it possible to include assmbly language in teensyduino projects?

  2. #2
    Senior Member
    Join Date
    Feb 2015
    Of course. The easiest way is to write inline assembly.

  3. #3
    Senior Member+ Theremingenieur's Avatar
    Join Date
    Feb 2014
    Colmar, France
    Naturally. Not only in Teensyduino but in all embedded developments which rely on the gcc compiler because it supports inline assembly. Parts of the Teensyduino audio library are written in assembly. The file dspinst.h declares for example the inline function wrappers for the most common ARM DSP assembly functions and can serve as a tutorial.
    More details about gcc and inline assembly here:

  4. #4
    I will have a look into dspinst.h and the audio lib.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts