News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

REX error message

Started by Biterider, November 28, 2019, 07:09:23 AM

Previous topic - Next topic

Biterider

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