摘要 |
<p>A method includes identifying a first register with M bits and a second register with N bits. The process also includes shifting K bits, where K <= N, from the second register into the first register. The shifting operation executes a left shift operation including reading bits K...N-1 from the first register, writing bits K...N-1 into bit positions O...N-K-1 of the first register, reading K bits from the second register, and writing K bits from second register into bit positions N-K...N-1 of first register, or a right shift operation including reading bits O...N-K-1 from the first register, writing bits O...N-K-1 into bit position K...N-1 of the first register, reading the K bits from the second register, and writing K bits from second register into bit positions O...K-1 of first register.</p> |