In C, the boolean type of an expression is an int. A variable or expression evaluated as 0 (zero) is FALSE and everything else (!= 0) is TRUE. Instead of using int (usually 16 or 32 bits), use an 8-bit type to hold a boolean result. For ANSI-C compliance, declare the basic boolean types in stdtypes.h:
typedef int Bool;
#define TRUE 1
#define FALSE 0
Use the following code to reduce memory usage and improve code density:
typedef Byte Bool_8;
from stdtypes.h ( Byte is an unsigned 8-bit data type also declared in stdtypes.h).