==D |
Top Previous Next |
Accu 1 and accu 2 are compared as DInts. If they are the same the RLO will be set to ‘1’, otherwise to ‘0’.
As long as the values in accu 1 and accu 2 are positive it is indifferent whether they are loaded out of a word or a dword. But if one of the as word loaded operands can be negative ‘==D’ will lead to an absurd result. In this case the eventually negative operand has to be extended to the Dword-format with the operation ITD before comparing.
L L#300000 L MD 8 ==D = Q 0.0 // if 300000 equals MD 8, Q 0.0 will be set to 1, otherwise to 0
See also:
|