[Info-vax] Microsoft: Alpha architecture responsible for poor Windows file
Bob Koehler
koehler at eisner.nospam.decuserve.org
Thu Nov 3 13:47:25 EDT 2016
In article <nvfk7g$14e7$2 at gioia.aioe.org>, Chris <xxx.syseng.yyy at gfsys.co.uk> writes:
>
> I guess you could just write macros in asm or C to encapsulate that
> for you. At least for embedded work, it's often much faster
> to use table lookup methods to do bit translation. For example, a 256
> byte table to translate an input bit pattern to required output, with
> the input pattern as the address into the table. May have seemed a bit
> extravagant in the old days of small memory, but not now and is much
> more flexible than trying to implement using algorithmic methods...
Works in non-embedded real-time work, too. I've seen a lot of
MOVTC use for byte swapping, bit swapping, and oher non obvious
needs.
More information about the Info-vax
mailing list