123456789101112131415161718192021222324252627282930313233343536 |
- { %RESULT=200 }
- {****************************************************************}
- { CODE GENERATOR TEST PROGRAM }
- {****************************************************************}
- { NODE TESTED : secondmoddiv() - division by zero test }
- {****************************************************************}
- { PRE-REQUISITES: secondload() }
- { secondassign() }
- { secondtypeconv() }
- {****************************************************************}
- { DEFINES: }
- { FPC = Target is FreePascal compiler }
- {****************************************************************}
- { REMARKS: }
- { }
- { }
- { }
- {****************************************************************}
- {$ifdef VER70}
- {$define TP}
- {$endif}
- var
- cardinalres : cardinal;
- cardinalcnt : cardinal;
- int64res : int64;
- int64cnt : int64;
- begin
- { RIGHT : LOC_REFERENCE }
- { LEFT : LOC_REGISTER }
- int64res := 1;
- int64cnt := 0;
- int64res := int64res div int64cnt;
- end.
|