Author Topic: REX error message  (Read 92 times)

Biterider

  • Member
  • ***
  • Posts: 392
  • ObjAsm32 + ObjAsm64 = ObjAsm
    • ObjAsm
REX error message
« on: November 28, 2019, 07:09:23 AM »
Hi
Today I tried this line:

Code: [Select]
movzx rax, dh
and got the following error message

Quote
Error A2256: Registers AH-DH may not be used with SPL-DIL or R8-R15

which is a bit misleading because rax is used here. yasm gives the error message:

Quote
error: cannot use A/B/C/DH with instruction needing REX

which seems to be more appropriate...

Biterider