EDX-EAX register pair divison resulting in big quotient
问题 If I have a 64 bit number in the EDX-EAX , and I divide it with a relatively small number, the quotient may become a number bigger than 32 bits . So at that point the div operator only sets the carry flag ? My problem is, that I would like to process a number in the EDX-EAX and write it out digit per digit , so in this case I would have to divide the number in EDX-EAX by 10 to get the last digit. 回答1: No. DIV in 64b/32b has maximum quotient 2 32 -1. Overflow is indicated with the #DE (divide