Author Topic: uasm238_x86 Error A2038: Base and index register differ in size  (Read 184 times)

jimg

  • Member
  • **
  • Posts: 191
New problem with uasm238_x86

00000E97                     1                      mov ax,word ptr Hextable[ebx*2]
                           Error A2038: Base and index register differ in size

jj2007

  • Member
  • *****
  • Posts: 7552
  • Assembler is fun ;-)
    • MasmBasic
Re: uasm238_x86 Error A2038: Base and index register differ in size
« Reply #1 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

jimg

  • Member
  • **
  • Posts: 191
Re: uasm238_x86 Error A2038: Base and index register differ in size
« Reply #2 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.

johnsa

  • Member
  • ****
  • Posts: 525
    • Uasm
Re: uasm238_x86 Error A2038: Base and index register differ in size
« Reply #3 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.