Ignore:
Timestamp:
May 7, 2019, 5:58:20 PM (5 years ago)
Author:
chronos
Message:
  • Added: More instruction implemented for pascal code generator.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/virtualcpu4/UOpcode.pas

    r185 r187  
    2929  end;
    3030
    31   function IntToHexEx(Value: Int64; Digits: ShortInt; Prefix: string = ''): string; overload;
    32   function IntToHexEx(Value: QWord; Digits: ShortInt; Prefix: string = ''): string; overload;
     31  function IntToHexEx(Value: Int64; Digits: ShortInt = -1; Prefix: string = ''): string; overload;
     32  function IntToHexEx(Value: QWord; Digits: ShortInt = -1; Prefix: string = ''): string; overload;
    3333
    3434
     
    3838  HexChars: array[0..15] of Char = '0123456789ABCDEF';
    3939
    40 function IntToHexEx(Value: Int64; Digits: ShortInt; Prefix: string = ''): string;
     40function IntToHexEx(Value: Int64; Digits: ShortInt = -1; Prefix: string = ''): string;
    4141var
    4242  I: Integer;
     
    6363end;
    6464
    65 function IntToHexEx(Value: QWord; Digits: ShortInt; Prefix: string = ''): string;
     65function IntToHexEx(Value: QWord; Digits: ShortInt = -1; Prefix: string = ''): string;
    6666var
    6767  I: Integer;
Note: See TracChangeset for help on using the changeset viewer.