Closed pistol closed 11 years ago
As per A8.8.20 of the manual describing BFI: width: The number of bits to be copied, in the range 1 to 32-<lsb>. The required value of msbit is <lsb>+<width>-1.
1
32-<lsb>
msbit
<lsb>+<width>-1
Hence width = msb - lsb + 1
width = msb - lsb + 1
As per A8.8.20 of the manual describing BFI: width: The number of bits to be copied, in the range
1
to32-<lsb>
. The required value ofmsbit
is<lsb>+<width>-1
.Hence
width = msb - lsb + 1