Changeset 68 for trunk/Compiler/Target/ASM8051/UProducerASM8051.pas
- Timestamp:
- Jul 30, 2012, 3:52:56 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Compiler/Target/ASM8051/UProducerASM8051.pas
r44 r68 35 35 procedure GenerateExpression(Expression: TExpression; LabelPrefix: string); 36 36 procedure GenerateProgram(ProgramBlock: TProgram); 37 procedure GenerateModule(Module: T Module);37 procedure GenerateModule(Module: TSourceModule); 38 38 public 39 39 AssemblyCode: TObjectList; // TList<TAssemblerLine> 40 40 procedure AssignToStringList(Target: TStringList); override; 41 procedure Produce(Module: T Module); override;41 procedure Produce(Module: TSourceModule); override; 42 42 constructor Create; 43 43 destructor Destroy; override; … … 189 189 // with ProgramBlock do 190 190 // for I := 0 to Modules.Count - 1 do 191 // GenerateCommonBlock(T Module(Modules[I]), '');192 end; 193 194 procedure TProducerAsm8051.GenerateModule(Module: T Module);191 // GenerateCommonBlock(TSourceModuleTSourceModule(Modules[I]), ''); 192 end; 193 194 procedure TProducerAsm8051.GenerateModule(Module: TSourceModule); 195 195 begin 196 196 Module.TargetFile := Module.Name + '.asm'; … … 207 207 end; 208 208 209 procedure TProducerAsm8051.Produce(Module: T Module);209 procedure TProducerAsm8051.Produce(Module: TSourceModule); 210 210 begin 211 211 GenerateModule(Module);
Note:
See TracChangeset
for help on using the changeset viewer.