摘要 |
A method and apparatus which enables a given computer to run programs using either a big endian or little endian architecture is disclosed. The method uses the fact that exclusive-ORing the lower two bits of a byte address in one architecture with binary 3 converts that byte address to the equivalent byte address in the other architecture. The method is implemented in software in a preferred embodiment, but a hardware implementation is also disclosed. <IMAGE> |