Changeset 96 for trunk/Target/UTargetInterpretter.pas
- Timestamp:
- Aug 2, 2018, 10:41:11 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Target/UTargetInterpretter.pas
r91 r96 302 302 for I := 0 to Length(FProgram) - 1 do begin 303 303 Result := Result + BrainFuckCommandText[FProgram[I].Command]; 304 //if FProgram[I].Command in [cmInc, cmDec, cmPointerInc, cmPointerDec, 305 //cmSet, cmMultipy] then begin 306 if FProgram[I].Parameter > 1 then 307 Result := Result + IntToStr(FProgram[I].Parameter); 308 if FProgram[I].RelIndex > 1 then 304 if FProgram[I].Command in [cmInc, cmDec, cmPointerInc, cmPointerDec, 305 cmSet, cmMultipy] then begin 306 if FProgram[I].Parameter <> 1 then 307 Result := Result + IntToStr(FProgram[I].Parameter); 308 end; 309 if FProgram[I].RelIndex <> 0 then 309 310 Result := Result + 'R' + IntToStr(FProgram[I].RelIndex); 310 //end;311 311 end; 312 312 end;
Note:
See TracChangeset
for help on using the changeset viewer.