順序に意味をもたせるのが間違い
mov(from=val, to=regA)
mov(to=regA, from=val)
どっちで書いてもok