Transferring a bit-field and setting the other bits at the destination to zero [V3.00.00 or later] |
||
BFMOVZ slsb, dlsb, width, src, dest
tmp1 = (0FFFFFFFFh >> (32-width))<<dlsb;
The number of bits specified by width from the bit position slsb at the location src are transferred to the number of bits specified by width from the bit position dlsb at the location dest. The rest of the bits at dest become 0. |
The range of slsb is 0 ≤ slsb ≤ 31, the range of dlsb is 0 ≤ dlsb ≤ 31, and the range of width is 1 ≤ width ≤ 31. |
You can assemble assembly-language code that includes this instruction if you have specified the assembler option -isa with selection of the instruction set of the RXv3 or a later version. |