public String convertSignedValuetoString(int n){
    
    if (n >= 0){
    String s = Long.toBinaryString(n);
    RES1.set(s);
    } else {
    //int a = -n;
    String s = Long.toBinaryString(-n);
    RES1.set(s);
    RES1.set( "1" + RES1.get().substring(1, 20));
    }
    
    return RES1.get();
    }