x12 will contain 0x000F
Here's what each instruction does:
li x10, 0x84FF: This loads the immediate value 0x84FF into register x10.
slli x12, x10, 0x10: This shifts the value in register x10 left by 16 bits and stores the result in register x12.
srai x13, x12, 0x10: This shifts the value in register x12 right by 16 bits (arithmetically) and stores the result in register x13.
srli x14, x12, 0x08: This shifts the value in register x12 right by 8 bits (logically) and stores the result in register x14.
and x12, x13, x14: This performs a bitwise AND operation on the values in registers x13 and x14 and stores the result in register x12.
Therefore, x12 will contain 0x000F