home bbs files messages ]

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 4,321 of 4,675   
   Paul Edwards to wolfgang kern   
   Re: 8086 32-bit multiply   
   23 Apr 21 20:17:33   
   
   From: mutazilah@nospicedham.gmail.com   
      
   On Saturday, April 24, 2021 at 10:51:35 AM UTC+10, wolfgang kern wrote:   
      
   > [x8086 only]   
   > > ; multiply cx:bx by dx:ax, result in dx:ax   
   > the result of 32*32 bit doesn't fit into 32 bit.   
      
   Good point. I didn't think of that. I can't multiply   
   17 bits by 17 bits, one of the registers needs to   
   be 0. But I assume I need to at least overflow in   
   a predictable manner.   
      
   > either go with the given limits (16*16 bit) or   
   > build a cascade with intermediate variables aka   
   > MUL-ADD chains.   
      
   See my most recent post. :-)   
      
   BFN. Paul.   
      
   --- 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