Changeset 138 for branches/virt simple/UCompiler.pas
- Timestamp:
- Jan 4, 2018, 2:00:49 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/virt simple/UCompiler.pas
r90 r138 47 47 Param2: string; 48 48 ParamType1: TParamType; 49 Indirect1: Boolean;49 Indirect1: TMemoryType; 50 50 Value1: Integer; 51 51 ParamType2: TParamType; 52 Indirect2: Boolean;52 Indirect2: TMemoryType; 53 53 Value2: Integer; 54 54 OutValue: Integer; … … 74 74 if Param1 <> '' then begin 75 75 if (Copy(Param1, 1, 1) = '[') and (Copy(Param1, Length(Param1), 1) = ']') then begin 76 Indirect1 := True;76 Indirect1 := mtData; 77 77 Param1 := Trim(Copy(Param1, 2, Length(Param1) - 2)); 78 end else Indirect1 := False;78 end else Indirect1 := mtNone; 79 79 if Copy(Param1, 1, 1) = 'R' then begin 80 80 ParamType1 := ptRegister; … … 103 103 if Param2 <> '' then begin 104 104 if (Copy(Param2, 1, 1) = '[') and (Copy(Param2, Length(Param2), 1) = ']') then begin 105 Indirect2 := True;105 Indirect2 := mtData; 106 106 Param2 := Trim(Copy(Param2, 2, Length(Param2) - 2)); 107 end else Indirect2 := False;107 end else Indirect2 := mtNone; 108 108 if Copy(Param2, 1, 1) = 'R' then begin 109 109 ParamType2 := ptRegister;
Note:
See TracChangeset
for help on using the changeset viewer.