flat assembler
Message board for the users of flat assembler.
Index
> Windows > Problem in Loop |
Author |
|
cod3b453 17 Mar 2012, 20:48
The division is applied to dx:ax, so if dx:ax/bx cannot fit inside ax #DE exception will occur; to fix this zero dx before each idiv (after idiv the remainder is put in dx)
|
|||
17 Mar 2012, 20:48 |
|
Ianis 18 Mar 2012, 15:43
Thank you a lot cod3b453.
I didn't know it works like that. |
|||
18 Mar 2012, 15:43 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.