Hi,
I have an issue with switch case. There are about 32 cases to be handled in switch. each case just assigns a hexadecimal to a local variable.
#define ADFV 0x0301
Switch(error_in dex)
{
case 1:
var = ADFV;
........
}
}
can i use jump table for above issue to reduce the code size.
I have an issue with switch case. There are about 32 cases to be handled in switch. each case just assigns a hexadecimal to a local variable.
#define ADFV 0x0301
Switch(error_in dex)
{
case 1:
var = ADFV;
........
}
}
can i use jump table for above issue to reduce the code size.
Comment