摘要 |
A data processing system has a select-and-insert instruction, which takes two input values. The instruction shifts the first valuenbits, selectsnbits from the second value and concatenates the shifted value with the selected bits to produce a result. If the first value is left shifted, then the selected bits form the least significant bits of the result. If the first value is right shifted, then the selected bits forth the most significant bits of the result. The instruction may be used in a Viterbi decoder with the first input being a Viterbi decoder state and the second value being a Viterbi trellis value. |