The MASM Forum

64 bit assembler => UASM Assembler Development => Topic started by: jimg on July 27, 2017, 11:44:58 PM

Title: uasm238_x86 Error A2038: Base and index register differ in size
Post by: jimg on July 27, 2017, 11:44:58 PM
New problem with uasm238_x86

00000E97                     1                      mov ax,word ptr Hextable[ebx*2]
                           Error A2038: Base and index register differ in size
Title: Re: uasm238_x86 Error A2038: Base and index register differ in size
Post by: jj2007 on July 28, 2017, 12:37:43 AM
Works fine for me. Did you use the very latest version? Mine is 27 July, 15:18
Title: Re: uasm238_x86 Error A2038: Base and index register differ in size
Post by: jimg on July 28, 2017, 01:12:29 AM
I downloaded it about 2 hrs ago.   I just downloaded it again and it worked.  Not sure what happened, but let us press on and ignore this post.
Title: Re: uasm238_x86 Error A2038: Base and index register differ in size
Post by: johnsa on July 28, 2017, 02:29:49 AM
There was an update applied this afternoon, same version number to address that exact base+index issue that JJ discovered.

The route course of this was we had to implement support for addressing like   [+ebx]
ie omitting the base, which is apparently valid syntax in some cases, so this regression came about due to supporting those forms of addressing combined with EVEX enhancements.