reversing a mask

Doug Gwyn <gwyn> gwyn at brl-tgr.ARPA
Mon Nov 26 05:40:05 AEST 1984


> What's the fastest way to reverse a 16-bit mask in C?  In 68000 asl?

I think it is probably to have an array of reversed masks of size 2^16
and use the forward mask as an index into the array.

Do I win a prize?



More information about the Comp.lang.c mailing list