Changeset 18 for branches/Void/Generators/UZ80Generator.pas
- Timestamp:
- Nov 10, 2009, 3:38:32 PM (15 years ago)
- Location:
- branches/Void
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Void
- Property svn:ignore
-
old new 11 11 Output.dpr 12 12 Output.exe 13 Output.asm
-
- Property svn:ignore
-
branches/Void/Generators/UZ80Generator.pas
r16 r18 51 51 // var section 52 52 for I := 0 to Variables.Count - 1 do 53 with TVariable(Variables[I])do53 with Variables[I] do 54 54 Output.Add(Name + ': DB ' + VarType.Name + ';'); 55 55 … … 58 58 Inc(IndentCount); 59 59 for I := 0 to BeginEnd.Commands.Count - 1 do 60 with TCommand(BeginEnd.Commands[I])do begin60 with BeginEnd.Commands[I] do begin 61 61 if Name = 'Assignment' then Output.Add(' LD ' + 62 TVariableValue(Parameters[0]).VariableDef.Name + ', ' +62 Parameters[0].VariableDef.Name + ', ' + 63 63 GenerateVariableValue(TVariableValue(Parameters[1]))) 64 64 else begin
Note:
See TracChangeset
for help on using the changeset viewer.