A typical opcode function has the following structure:

void OpName() 
{
#ifdef DEBUG_COMMON
     sprintf(opcode, .....
     RefreshOpList(opcode);
#endif
 ... opcode code ....
}

