source: branches/8051/USourceCode.pas

Last change on this file was 20, checked in by chronos, 13 years ago
  • Přidáno: Počáteční návrh editoru a kompilátoru pro i8051.
File size: 591 bytes
Line 
1unit USourceCode;
2
3{$mode delphi}{$H+}
4
5interface
6
7uses
8 Classes, SysUtils, SpecializedList;
9
10type
11 TSourceLine = class
12 LabelName: string;
13 Instruction: string;
14 Parameters: string;
15 Comment: string;
16 end;
17
18 { TSourceCode }
19
20 TSourceCode = class
21 Lines: TListObject;
22 constructor Create;
23 destructor Destroy; override;
24 end;
25
26
27implementation
28
29{ TSourceCode }
30
31constructor TSourceCode.Create;
32begin
33 Lines := TListObject.Create;
34end;
35
36destructor TSourceCode.Destroy;
37begin
38 Lines.Free;
39 inherited Destroy;
40end;
41
42end.
43
Note: See TracBrowser for help on using the repository browser.