Changeset 161 for branches/virtualcpu3/UFormMain.pas
- Timestamp:
- Apr 26, 2018, 1:10:38 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/virtualcpu3/UFormMain.pas
r160 r161 19 19 20 20 public 21 procedure TestInt128;22 21 end; 23 22 … … 54 53 Writer64: TInstWriter64; 55 54 begin 56 TestInt128;57 58 55 { CPU8 := TCPU8.Create; 59 56 Writer8 := TInstWriter8.Create; … … 93 90 end; 94 91 95 procedure TForm1.TestInt128;96 var97 A, B, C: Int128;98 begin99 A := 2;100 B := 3;101 C := A + B;102 Memo1.Lines.Add(IntToStr(A) + ' + ' + IntToStr(B) + ' = ' + IntToStr(C));103 C := A * B;104 Memo1.Lines.Add(IntToStr(A) + ' * ' + IntToStr(B) + ' = ' + IntToStr(C));105 end;106 107 92 end. 108 93
Note:
See TracChangeset
for help on using the changeset viewer.