Hi, I’m thinking of trying to modify the minimad decoder so that I can implement it in a 8-bit 8051 microcontroller and have a couple of questions regarding the configure.h file:

 

In line 80 in the configure.h file, it says:

 

/* Define to enable a fast subband synthesis approximation optimization. */

/* #undef OPT_SSO */

 

Does this mean that OPT_SSO is always defined unless I undefined it?  

 

In line 107 in the configure.h file, it says:

 

/* The size of a `int', as computed by sizeof. */

#define SIZEOF_INT 4

 

What determines SIZEOF_INT? (I understand that the sizeof function returns the size, but what actually makes the size of int 4, ).

To redefine the question: Is it ever not 4, if so, when?

 

A spin-off from that question is: can anyone tell me the sizes (in bits) of:

 

signed int

unsigned int

signed long

unsigned long

 

Last question: Does anyone see any immediate “show-stoppers” for implementing the minimad decoder in a 8-bit microprocessor?

 

Thanks in advance!

Håvard