On Tue, Mar 30, 2010 at 7:42 PM, Maarten Brock <sourceforge.brock@dse.nl> wrote:
Why do you use the cast to unsigned int? That inserts a new intermediate
operand.


Otherwise sdcc will fail on error:

t.c:20: error 43: invalid operand for shift operator
t.c:20: warning 113: left & right types areĀ 
unsigned-char xdata* fixed,const-unsigned-char literal
t.c:21: error 45: operand invalid for bitwise operation
t.c:21: warning 113: left & right types areĀ 
unsigned-char xdata* fixed,const-unsigned-char literal

--
Cheers,
Grissiom