Re: Way of topic: Assembly thing

new topic     » goto parent     » topic index » view thread      » older message » newer message

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 thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu