Robert,
Could you please forward this to the list? My posts are still being
blocked. The one below was sent only to the list, but it's not there on
http://lists.gnu.org/pipermail/avr-gcc-list .
Thanks,
Erik
On Mon, May 11, 2009 at 10:30:40PM +1000, Erik Christiansen wrote:
On Mon, May 11, 2009
Jan Waclawek wrote:
I simply require a way to fix absolutely this jump table in memory.
Whether I write it in C or assembler seems to me to be irrelevant, as is
using an array of pointer to functions, because I still have the problem
of fixing these at absolute addresses.
If anyone knows a
Jan Waclawek wrote:
Why would the compiler respect assembler any more than my C calls
Because the compiler knows nothing on assembly language. It simply passes it
as a string to the assembler: it does not attempt to parse it (except for the
escape sequences), so it has no chance to
Erik Christiansen wrote:
On Tue, May 12, 2009 at 02:26:38PM +0200, Jan Waclawek wrote:
On the other hand, a compiler is free to do whatever it wants to do
with statements you pass to it: it can reorder and insert voids
wherever and whenever it wants. This is the very principle of high
Jan Waclawek wrote:
Robert,
There is some difference, though: you can't count on such variables to be
initialised to zero.
JW
This is obvious, I think, but thanks for the tip anyway.
Robert
___
AVR-GCC-list mailing list