; > > Sent: Wednesday, October 20, 2004 2:16 PM
> > > To: mspgcc-users@lists.sourceforge.net
> > > Subject: Re: [Mspgcc-users] Something strang
op r2 ;
}
1e: 30 41 ret
-
mov #-76, &0x0138 ;#0xffb4 --> why not:mov.b #180, &0x0138
Marcus
> this is a feature actually:)
> you forgot about operations order.
> ~
Hello!
There is something strange with multiplication of constant byte numbers.
--
Example 1.1:
unsigned int multiplikation (unsigned char wert)
{
return (unsigned int)((unsigned int)wert*((unsigned int)180));