1. Way of topic: Assembly thing

Okay, this might not happen on everyone's systems, but it definitely has
an effect on mine. Here's the problem: whenever I write assembly progs,
sometimes I have to divide or multiply. But my computer goes crazy when I
use the (I)MUL or (I)DIV instructions. Once, a DIV instruction even rebooted
my system and damaged a FAT, all because I tried to convert a foreground
color into a screen attribute( background * 16 + foreground )! What gives?

new topic     » topic index » view message » categorize

2. Re: Way of topic: Assembly thing

BTW, my system is a 1997 Packard Bell Multimedia D141 with a Pentium-133
processor, 16 megs of RAM, and I was doing this in a DOS prompt in full
screen under Windows 95B

new topic     » goto parent     » topic index » view message » categorize

3. Re: Way of topic: Assembly thing

On 13 Aug 2000, at 15:59, Darth Maul, aka Matt wrote:

> Okay, this might not happen on everyone's systems, but it definitely has
> an effect on mine. Here's the problem: whenever I write assembly progs,
> sometimes I have to divide or multiply. But my computer goes crazy when I
> use the (I)MUL or (I)DIV instructions. Once, a DIV instruction even rebooted
> my system and damaged a FAT, all because I tried to convert a foreground
> color into a screen attribute( background * 16 + foreground )! What gives?
>

Maybe the instruction uses a register which has bad content? Or maybe the
problem
is left in a register by the div instruction, and the next instruction crashes
on it?

Kat

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu