weAut_01 / weAutSys    R 2.2.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines
pt/lc-addrlabels.h File Reference

Overview

Implementation of local continuations based on GCC's feature "Labels as values".

Author:
Adam Dunkels adam@.nosp@m.sics.nosp@m..se

This implementation of local continuations is based on a special feature of the GCC C compiler called "labels as values". This feature allows assigning pointers with the address of the code corresponding to a particular C label.

For ATmegas with more than 128K (Harvard) flash memory this feature is inseparably bound to the screwy trampolin implementation. That works but should always be checked with deep distrust when code grows / goes beyond 64K words / 128K bytes (on an ATmega2560 e.g.).

Modifications by A. Weinert (c) 2011

For more information, see the GCC documentation: http://gcc.gnu.org/onlinedocs/gcc/Labels-as-Values.html

Revision:
2
Date:
2017-01-25 17:49:03 +0100 (Mi, 25 Jan 2017)