I understand how you can define a ROTL as

#define ROTL(x,y) (((x)<<(y&(w-1))) | ((x)>>(w-(y&(w-1)))))

where w is the number of bits in x and y. But why does this only work
with unsigned numbers and not signed?

More importantly, isn't there a built-in hardware instruction to
do this in the Motorola 68K chips? and how do we put in-line
assembly into our Palm programs?


Thanks,

Rick



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to