hi all,

i'm back from a dark period with very few asm time (girls issues) :)
Now i'm quite alive again :)

I was just wondering what this masm syntax mean (i use tasm). since i've never seen it before.

movsx eax, word ptr [2*eax]

THX B7 :)
Posted on 2004-05-28 09:41:33 by Bit7
movsx eax, word ptr [2*eax]

movsx >>> mov sign extend.

[2*eax] =

So I think in tasm syntax it would be....

movsx eax, WORD

Moves the word at into EAX extending the sign bit to bit 31.

Just as a side issue, if you run the code through OllyDbg, you can specify TASM syntax and it will convert it for you.
Posted on 2004-05-28 10:27:12 by donkey
infinite thx, great :)
Posted on 2004-05-28 16:22:31 by Bit7