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 :)
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 :)
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.
infinite thx, great :)