NCMDS
#define NCMDS (sizeof(inst_commands) / sizeof(inst_commands[0]))
#define NCMDS (NRCV+NXMT+4) /* size of command queue */