Customize the method to construct a C4eArchDigit2 from two C4eArchDigit (representing least/most significant part) on demand.
Sometimes it is faster (but less portable) to use C4eArchDigit based array index access regarding defines C4E_ARCH_LITTLE_ENDIAN/C4E_ARCH_BIG_ENDIAN.
Sometimes it is faster (but less portable) to use a C4eArchDigit based array index access regarding defines C4E_ARCH_LITTLE_ENDIAN/C4E_ARCH_BIG_ENDIAN.
In case the configure script is not used to generate c4e_config.h then you (possibly) have to adopt define C4E_ARCH_DIGIT_SIZE
by hand.
Variables declared with this macro are constants and therefore can be located in ROM. Customize this macro depending on your compiler/linker and platform.
Customize to fit your special needs when debugging
This type must be an unsigned
integer type, for which basic arithmetic is provided. Typically it targets the architecture register width. All arithmetic on this type must be modulo 256^C4E_ARCH_DIGIT_SIZE
, means saturation arithmetic is not allowed. In case the configure script is not used to generate c4e_config.h then you (possibly) have to adopt define C4E_ARCH_DIGIT_SIZE
by hand.
This type must have twice the size of one C4eArchDigit. Division by a C4eArchDigit must be supported. Saturation arithmetic is not allowed.
size_t
or C4eArchUint (if width enough). This type typically targets the architecture register width. It must be unsigned, typically declared as unsigned
int
. In case the configure script is not used to generate c4e_config.h then you (possibly) have to adopt define C4E_ARCH_UINT_SIZE
by hand.
Customize this type equivalent to unsigned
char
, resp. the ISO C99 (POSIX) type uint8_t
.