#include "permute.h" #define NUMREGS 3 struct permute_t permute; void TurboCoder(char *input, char *output, int long_cb) { char reg1_0,reg1_1,reg1_2, reg2_0,reg2_1,reg2_2; int i,k=0,j; char bit; char in,out; Tper *per; int n; n=ComputePermutation(&permute, long_cb); per=permute.PER; reg1_0=0; reg1_1=0; reg1_2=0; reg2_0=0; reg2_1=0; reg2_2=0; k=0; for (i=0;i