Thanks for the ASM.
>Then why ask about C#?
It was a mistake,i want ask about C and C++. How to send my Hello
message on the hyperterminal(or minicom),LCD...
--- In "Matt Godbolt" <> wrote:
>
> Hiyas,
>
> >
> > My hello message is in C or C++ and I use GCC cros-tool-chain !!
>
> Then why ask about C#? C#'s quite different to C and C++, especially
> when you're talking about embedded devices.
>
> > Another question: I want to modify the LCD code give with the TS7260
> > kit but I dont andestand the asm code !!!
> >
> >
> > #define COUNTDOWN(x) asm volatile ( \
> > "1:\n"\
> > "subs %1, %1, #1;\n"\
> > "bne 1b;\n"\
> > : "=r" ((x)) : "r" ((x)) \
> > );
>
> This code is a delay loop used by the LCD driver to wait a number of
> nanoseconds. It's really quite specialised and is completely
> ARM-specific. If your code isn't talking directly to hardware and you
> don't need to have precise* nanosecond delays, then you can safely
> ignore this code.
>
> Matt
>
> --
> http://xania.org/
>
> * well, fairly precise :)
>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|