the result code must be somethig like

mov     #1, r15
ret

and it is.
~d


On Wednesday 27 November 2002 10:50, orcim wrote:
> We are using MSPGCC Windows binary (2002-11-15) gnu compiler for MSP430F149
> and we have found following bug:
>
>     not of boolean variable (unsigned char) return a wrong value.
>
>
> For example, the following routine return 0.
>
> unsigned char a(void)
> {
>     unsigned char x;
>
>     x = 0x00;
>     x = !x;
>     return (x);
> }
>
> In allegate there is a little program to see this bug.
> Tank you for your help.
> Best regards.
>
>     Loris Michielutti


Reply via email to