Changeset 219 for branches/CpuSingleSize/UDisassembler.pas
- Timestamp:
- Oct 14, 2020, 8:04:25 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/CpuSingleSize/UDisassembler.pas
r218 r219 52 52 InstText := InstText + ', ' else 53 53 InstText := InstText + ' '; 54 if InstructionInfo.Params[J] = ptNumber then begin 55 InstText := InstText + IntToHex(Value, 8); 56 end else 54 57 if InstructionInfo.Params[J] = ptReg then begin 55 58 InstText := InstText + 'R' + IntToStr(Value); … … 58 61 InstText := InstText + '(R' + IntToStr(Value) + ')'; 59 62 end else 60 if InstructionInfo.Params[J] = ptNumber then begin 61 InstText := InstText + IntToHex(Value, 8); 63 if InstructionInfo.Params[J] = ptRegIndirectIndex then begin 64 InstText := InstText + '(R' + IntToStr(Value); 65 Value := Memory.Read; 66 InstBytes := InstBytes + IntToHex(Value, 2) + ' '; 67 InstText := InstText + ' + ' + IntToStr(Value) + ')'; 62 68 end; 63 69 end; 64 InstBytes := InstBytes + DupeString(' ', 1 0- Length(InstBytes));70 InstBytes := InstBytes + DupeString(' ', 13 - Length(InstBytes)); 65 71 end; 66 72 end;
Note:
See TracChangeset
for help on using the changeset viewer.