>Is there a way to force creation of a jump table , or other coding methode >( inline assembler ??) Sure! Enjoy! I use this myself a lot. Examples and usage follow. It does nothing real but shows teh technique. Oh, and it's portable - no need for assembly. Andy #include int function_1 (int x) { // Insert your code here return (x + 1); } int function_2 (int x) { // Insert your code here return (x + 2); } int function_3 (int x) { // Insert your code here return (x + 3; } int function_n (int x) { // Insert your code here return (x + 4); } typedef int (*f_of_x)(int); f_of_x list_of_functions[] = { function_1, function_2, function_3, function_n}; void main (void) { int i, j; j = 2; for (i = 0; i < 4; i++) j = list_of_functions[i] (j); } -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads