HCS08 Compiler > Type Sizes

Use this panel to specify the available data type size options for the HCS08 Compiler.

The following table lists and describes the possible type size options for HCS08 Compiler using the -T option.

Table 1. Tool Settings - HCS08 Compiler > Type Sizes
Option Description
char Selects the size of the char type. Options are:
  • Default (unsigned 8bit)
  • unsigned 8bit (-TuCC1)
  • signed 8bit (-TsCC1)
  • signed 16bit (-TsCC2)
  • signed 32bit (-TsCC4)
short Selects the size of the short type. Options are:
  • Default (16bit)
  • signed 8bit (-TS1)
  • signed 16bit (-TS2)
  • signed 32bit (-TS4)
int Selects the size of the int type. Options are:
  • Default (16bit)
  • signed 8bit (-TI1)
  • signed 16bit (-TI2)
  • signed 32bit (-TI4)
long Selects the size of the long type. Options are:
  • Default (32bit)
  • signed 8bit (-TL1)
  • signed 16bit (-TL2)
  • signed 32bit (-TL4)
long long Selects the size of the long long type. Options are:
  • Default (32bit)
  • signed 8bit (-TLL1)
  • signed 16bit (-TLL2)
  • signed 32bit (-TLL4)
enum Selects the size of the enum type. Options are:
  • Default (signed 16bit)
  • signed 8bit (-TE1sE)
  • signed 16bit (-TE2sE)
  • signed 32bit (-TE4sE)
  • unsigned 8bit (-TE1uE)
float Selects the size of the float type. Options are:
  • Default (IEEE32)
  • IEEE32
  • IEEE64
double Selects the size of the double type. Options are:
  • Default (IEEE64)
  • IEEE32
  • IEEE64
long double Selects the size of the long double type. Options are:
  • Default (IEEE64)
  • IEEE32
  • IEEE64
long long double Selects the size of the long long double type. Options are:
  • Default (IEEE64)
  • IEEE32
  • IEEE64