question: private static Pair < String , String > generateSignMask ( final ITranslationEnvironment environment , final long offset , final String value , final OperandSize size , final List < ReilInstruction > instructions ) { final String msbMask = String . valueOf ( TranslationHelpers . getMsbMask ( size ) ) ; final String shiftValue = String . valueOf ( TranslationHelpers . getShiftMsbLsbMask ( size ) ) ; final String maskedMsb = environment . getNextVariableString ( ) ; final String msbInLsb = environment . getNextVariableString ( ) ; final String signMask = environment . getNextVariableString ( ) ; instructions . add ( ReilHelpers . createAnd ( offset , size , value , size , msbMask , size , maskedMsb ) ) ; instructions . add ( ReilHelpers . createBsh ( offset + 1 , size , maskedMsb , size , shiftValue , size , msbInLsb ) ) ; instructions . add ( ReilHelpers . createSub ( offset + 2 , size , "0" , size , msbInLsb , size , signMask ) ) ; return new Pair < String , String > ( msbInLsb , signMask ) ; }
target:  Generates code that generates sign masks for values