Ignore:
Timestamp:
Apr 26, 2018, 1:10:38 PM (7 years ago)
Author:
chronos
Message:
  • Modified: Further Int128 unit implementation.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/virtualcpu3/UFormMain.pas

    r160 r161  
    1919
    2020  public
    21     procedure TestInt128;
    2221  end;
    2322
     
    5453  Writer64: TInstWriter64;
    5554begin
    56   TestInt128;
    57 
    5855{  CPU8 := TCPU8.Create;
    5956  Writer8 := TInstWriter8.Create;
     
    9390end;
    9491
    95 procedure TForm1.TestInt128;
    96 var
    97   A, B, C: Int128;
    98 begin
    99   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 
    10792end.
    10893
Note: See TracChangeset for help on using the changeset viewer.