#define PRINTF_SUPPORT 
#define MAX_PERMISSIBLE_ERROR  0
segment ("mydata3") unsigned char output[8*16];

segment ("mydata2") short  se0[9]={  0,1,0,
                 1,1,1,
                 0,1,0};

segment ("mydata2") short  se1[9]={  1,1,1,
                 1,1,1,
                 1,1,1};




segment ("mydata1") unsigned char input1[64]= {1,1,0,1,0,0,1,0,
                           1,1,1,0,1,0,0,0,
                           1,1,1,1,1,1,0,1,
                           1,0,1,0,1,1,1,0,
                           0,0,1,0,1,1,1,1,
                           0,1,1,1,1,1,1,0,
                           0,0,1,0,1,1,0,0,
                           0,0,0,0,0,1,0,0};



segment ("mydata1") unsigned char input2[8*16]={1,0,0,1,0,0,1,0,1,0,0,1,0,0,1,0,
                            0,0,1,0,0,0,0,0,1,0,0,0,1,0,0,1,
                            1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,0,
                            0,1,1,1,0,1,1,1,0,0,0,0,1,1,1,0,
                            0,0,1,0,0,1,1,1,0,0,1,0,0,0,0,0,
                            1,0,0,0,0,1,1,1,1,0,1,0,0,1,0,0,
                            0,0,0,0,0,0,1,0,0,1,0,0,1,1,1,0,
                            0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0};


unsigned char  output1[64]={
     0,1,0,0,0,0,0,0,
     1,1,1,0,1,0,0,0,
     0,1,1,1,1,1,0,0,
     0,0,1,0,1,1,1,0,
     0,0,1,0,1,1,1,1,
     0,1,1,1,1,1,1,0,
     0,0,1,0,1,1,0,0,
     0,0,0,0,0,0,0,0};


unsigned char output2[64]={ 0,0,0,0,0,0,0,0,
                            0,0,0,0,0,0,0,0,
                            0,0,0,0,0,0,0,0,
                            0,0,0,0,1,1,1,0,
                            0,0,0,0,1,1,1,0,
                            0,0,0,0,1,1,1,0,
                            0,0,0,0,0,0,0,0,
                            0,0,0,0,0,0,0,0};


unsigned char output3[8*16]={
     0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
     0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,
     0,1,1,1,0,0,0,0,0,0,0,1,1,1,0,0,
     0,1,1,1,0,0,1,0,0,0,0,0,1,0,0,0,
     0,0,1,0,0,1,1,1,0,0,0,0,0,0,0,0,
     0,0,0,0,0,1,1,1,0,0,0,0,0,1,0,0,
     0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,0,
     0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0};

   
      
     
unsigned char output4[8*16]={
     0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
     0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
     0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
     0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,
     0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,
     0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,
     0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
     0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};



