Assembler 64b division
问题 I need some easy way to divide 64b unsigned integers in assembler for x86. My number is saved in two 32b registers EDX:EAX and I need to put result back to EDX:EAX. Factor is in 32b integer. Some code, please? 回答1: If I interpret your question correctly (particularly the part Factor is in 32b integer ), you want to divide a 64-bit dividend by a 32-bit divisor and get a 64-bit quotient. If that interpretation is correct, then it's actually easy to do in 32-bit code. The idea is that you divide