himanshu
January 21st, 2003, 06:53
hi there,
there seems to be some dfferences between opcode generated by rta and that generated by softice and hiew.
dunno...neone else had some problem like this ??
esther
January 21st, 2003, 07:58
yup there are some errors
eg: mov eax,eax=89c0
RTA: mov eax,eax=8bc0
SQUIDE! would like comments and feedbacks

squidge
January 21st, 2003, 08:23
There's more than one way to assemble an instruction, so instructions assembled by different programs may differ in the binary they produce.
However, you can be sure that they disassemble back into the exact same instructions, and execute the same. Eg. 89c0 and 8bc0 are identical in the command they perform.
To check, I've just created a small EXE in MASM, and db'd the hex bytes directly into the program. Disassembled by OllyDbg, W32dasm and IDA all produce two lines of the same instruction.
nikolatesla20
January 21st, 2003, 09:37
From the masm32 opcodes help file:
The MOV instruction.
Code:
First instruction:
89 / r MOV r/m16,r16 Move r16 to r/m16
Second instruction:
8B / r MOV r32,r/m32 Move r/m32 to r32
looks like an operand size difference. However, in the case of mov eax,eax - such a thing would not matter, if you think about it. So in that case they are the same.
-nt20
esther
January 21st, 2003, 12:09
When it comes to opcode programmers with hexeditor its a pain on ass

squidge
January 21st, 2003, 17:32
Maybe, but complaints to Intel please as my prog aint faulty

esther
January 21st, 2003, 19:20
DOH! 
JMI
January 21st, 2003, 19:57
squidge:
Allow me to correct you, that should read "my program
isn't faulty."
Regards.
squidge
January 22nd, 2003, 08:22
Well, hello Mr. Pedantic

JMI
January 22nd, 2003, 11:46
Well that certainly raises the level of discourse.

And that aint bad.
Regards.
esther
January 22nd, 2003, 12:12
Be Pedantic,DOH identic
Its not a complain its feedback,check that or get whacked
Regards
squidge
January 22nd, 2003, 13:31
/me goes to find a large baseball bat...

Powered by vBulletin® Version 4.2.2 Copyright © 2018 vBulletin Solutions, Inc. All rights reserved.