avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] address lables for > 128k flash


From: Sean D'Epagnier
Subject: Re: [avr-gcc-list] address lables for > 128k flash
Date: Sat, 9 May 2009 01:36:31 -0600

I found an alternative way to solve my problem which just requires running
a parser program on preprocessed code to generate switch tables for
each protothread.  This way the thread switches and each case gotos
the right label.  The actual code using proto threads doesn't know the
difference.  It requires two jumps (same as trampoline) but also is
more complicated to compile source code.

A better solution would be to support address labels in the trampoline
the same way function pointers are supported.  Then address labels
would be fully supported.  Does anyone have an hints on where to start
with this?

Thanks,
Sean




reply via email to

[Prev in Thread] Current Thread [Next in Thread]