The inline assembler has encountered an expression which results in a division by zero.
program Produce; procedure AssemblerExample; asm dw 1000 / 0 end; begin end.
If you are using program constants instead of constant literals, this error might not be quite so obvious.
program Solve; procedure AssemblerExample; asm dw 1000 / 10 end; begin end.
The solution, as when programming in high-level languages, is to make sure that you don't divide by zero.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|