我知道,我曾问过几个问题,但希望这样做将帮助今后试图从事类似项目的人们,但我总是想到解决办法,但我从未去过第一页。
I looked at that Intel manual Alex posted, seems pretty alien to me http://www.intel.com/content/www/us/en/architecture-and-technology/64-ia-32-architectures-software-developer-vol-2a-2b-instruction-set-a-z-manual.html
So I thought I knew how a simple DIV
opcode worked. Since it s just divide
after all.
I had no difficulty adding ADD
,SUB
, of course IMUL
had problems you guys helped me out on that one. Seems DIV
falls into the same category as IMUL
in terms of difficulty.
如果没有使用手册,就与OllyDbg进行自我分解测试。
我发现,各司的答案总是储存在
从研究这一算法来看,谁知道,谁会利用随机编号的其余部分来产生从零到10的 pre子的开关。 但我仍要问。
我从未想象过六分之二数的六分数,而其余小小点甚至属于其中。
DIV ECX
希望
regs.d.eax /= regs.d.ecx;
regs.d.edx = regs.d.eax % regs.d.ecx;
我认为,首先可能要剩下剩余部分,只是事情。
regs.d.edx = regs.d.eax % regs.d.ecx;
regs.d.eax /= regs.d.ecx;
奥凯·我几乎不与数学方案合作,因此给我带来一点混淆。 我再说一番谎言,把结果 store起来,然后把结果 by倒在奇迹上,我知道如何把其余部分拿到来。
Ok well. 查看C代码I, 或许必须储存EAX
和ECX
, 然后再在临时变量中进行区分,或首先处理其余代码。 我不知道。
Well I ll see maybe you guys can provide me with a better answer perhaps it cannot be done in one line but maybe I made a few mistakes.. I can t really test the things I do right now due to many other things I have to fix before I can even compile the software.