X=-12 because each instruction in the memory is 3 bytes, if we the program is stored in the memory block starts from 800(say) as address then loop label is having address 806 and the instruction where PC is used as instruction's operand is having address 815,so PC contains 818,so displacement X=(818-806)=12, i.e. -12[PC]