On Fri, Aug 3, 2012 at 2:45 PM, Michael Schnell <mschn...@lumino.de> wrote:
> On 08/03/2012 03:34 PM, Luis Alves wrote:
>>
>> Since the volatile tells exactly that you want to use registers during
>> the manipulation of those variables, so I'm not surprised that it
>> doesn't change memory contents directly.
>
>
> Sorry for being vague and providing invalid code for the example.
>
> I did not intend to define the volatile variables within the function (thus
> on the stack) but outside (as global memory based variables).
>

In my test code, I've defined them as global variables.
Regards

>
> -Michael
> _______________________________________________
> uClinux-dev mailing list
> uClinux-dev@uclinux.org
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by uclinux-dev@uclinux.org
> To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to