The MASM Forum

64 bit assembler => UASM Assembler Development => Topic started by: Biterider on November 28, 2019, 07:09:23 AM

Title: REX error message
Post by: Biterider on November 28, 2019, 07:09:23 AM
Hi
Today I tried this line:

movzx rax, dh

and got the following error message

QuoteError 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:

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

which seems to be more appropriate...

Biterider