Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.asm.x86    |    Ahh, the lost art of x86 assembly    |    4,675 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 3,131 of 4,675    |
|    Richmond to All    |
|    DIV confusion    |
|    29 Nov 17 20:29:43    |
      From: p1299721@nospicedham.protonmail.com              Looking at the Intel 64 and IA-32 Architectures Software Developer’s       Manual Volume 2 (2A, 2B, 2C & 2D): I see the definition of DIV says:              Unsigned divide EDX:EAX by r/m32, with result stored in EAX (Quotient),       EDX (Remainder).              So EAX:=EDX:EAX/n remainder EDX.              But it also says the maximum quotent is 2^32-1, so why does it need two       32 bit registers for the quotent? (AL=8,AX=16,EAX=32,RAX=64).              --       ~              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca