From: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire) Newsgroups: comp.os.msdos.djgpp Subject: Re: problem with nasm and djgpp Date: 28 Sep 1997 06:32:32 GMT Organization: The National Capital FreeNet Lines: 15 Message-ID: <60ktm0$qrj@freenet-news.carleton.ca> References: <342B8D5F DOT 2FA AT worldnet DOT fr> Reply-To: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire) NNTP-Posting-Host: freenet2.carleton.ca To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk votava (votava AT worldnet DOT fr) writes: > I have a problem with nasm: when I try DIV CX, I have the message > "division by 0" but Cx have not a null value. Can someone can help me??? Flame me if this is stupid, but doesn't DIV expect two arguments? Maybe it ended up dividing Cx by zero. Also, are you sure it expects an immediate value in Cx and not a pointer? Maybe it is pointing to a memory location that happens to have a big fat 0 in it. -- .*. Where feelings are concerned, answers are rarely simple [GeneDeWeese] -() < When I go to the theater, I always go straight to the "bag and mix" `*' bulk candy section...because variety is the spice of life... [me] Paul Derbyshire ao950 AT freenet DOT carleton DOT ca, http://chat.carleton.ca/~pderbysh