This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

help required: 486 assembly

i have some trouble with 486 assembly language.
i have an instruction which looks like this:
cmp word ptr 15[edi],0
it's corresponding code is:
66 83 7f 0f 00

Firstly, can the saviour explain how does the instruction correspond to this code,

Secondly if the instruction is to be changed to:
cmp word ptr ds:15[ebp],0
What will be the corresponding code... and why??

Please help me out!!! thanx!!!

0