Import SB128-v5.24 to main branch
[AROS.git] / test / uae / README
blobece483f23a7e6502fdfa074d1a14cd91d4106da2
2 This is an example code how to use C++ for automatic endian conversion.
3 The basic idea is this:
5 - We create types which mimick big endian (BE) data types.
7 - We use this base types to access data thus gaining automatic
8 conversion.
10 The big plus is here that the C++ compiler can optimize
12 - assignments between similar types (eg. BE to BE)
14 - Omit all special code if the CPU is BE
16 Have a look at types.h for a deeper intoduction.