lua-users home
lua-l archive

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

Bogdan Marinescu wrote:

Thanks! If it also supports ARM in big endian mode, this could be exactly what I need.

Except that I don't think you'll find the problem has to do with
the endianness of the processor and Lua.

I'm going to put a bet on a compiled code issue with the
compiler optimizing a copy or move incorrectly. Probably
in the memcpy() or memmove() operation.

What optimization level do you have the compiler set to?


PS: I'm just guessing here. I do have some experience with
    debugging without a JTAG. Can you compile code snippets
    to run on your target without Lua?

    Can you do something like:

    string[] = "abcdefgh"

    for( i=0; i<8; ++i )
      printf( "%s\n", &string[i] )