Changeset 6 for trunk/Compiler/Produce/UProducerAsm8051.pas
- Timestamp:
- Nov 5, 2010, 11:31:04 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Compiler/Produce/UProducerAsm8051.pas
r2 r6 108 108 begin 109 109 AssemblyCode := TObjectList.Create; 110 FileExtension := '.asm';111 110 end; 112 111 … … 155 154 ntNone: ; 156 155 ntVariable: if Assigned(Variable) then AddInstruction('', 'GETVAR', Variable.Name, ''); 157 nTFunction: AddInstruction('', 'CALL', FunctionCall. Name, '');156 nTFunction: AddInstruction('', 'CALL', FunctionCall.FunctionRef.Name, ''); 158 157 ntConstant: AddInstruction('', 'CONST', '', ''); 159 158 ntOperator: begin … … 192 191 procedure TProducerAsm8051.GenerateModule(Module: TModule); 193 192 begin 194 193 Module.TargetFile := Module.Name + '.asm'; 195 194 end; 196 195
Note:
See TracChangeset
for help on using the changeset viewer.