Changeset 185 for branches/virtualcpu4/Forms/UFormAssembler.lfm
- Timestamp:
- May 1, 2019, 9:48:46 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/virtualcpu4/Forms/UFormAssembler.lfm
r184 r185 1 1 object FormAssembler: TFormAssembler 2 2 Left = 474 3 Height = 5403 Height = 648 4 4 Top = 313 5 Width = 7055 Width = 846 6 6 Caption = 'Assembler' 7 ClientHeight = 5408 ClientWidth = 7059 DesignTimePPI = 1 207 ClientHeight = 648 8 ClientWidth = 846 9 DesignTimePPI = 144 10 10 OnCreate = FormCreate 11 11 OnDestroy = FormDestroy 12 LCLVersion = '2.0. 2.0'12 LCLVersion = '2.0.0.4' 13 13 object MemoSource: TMemo 14 Left = 815 Height = 38316 Top = 817 Width = 69114 Left = 10 15 Height = 459 16 Top = 10 17 Width = 829 18 18 Anchors = [akTop, akLeft, akRight, akBottom] 19 19 Lines.Strings = ( 20 'LD R1, R2' 21 'LDI R1, 10' 20 ' // Print Hello world text' 21 ' LDI R1, HelloWorld' 22 ' LDI R2, 13' 23 ' CALL Print' 24 ' HALT' 25 '' 26 'Print:' 27 ' PUSH R3' 28 ' PUSH R2' 29 ' PUSH R1' 30 'PrintLoop:' 31 ' DP8 ;LDM R3, R1' 32 ' AP8; DP8; OUT (0), R3' 33 ' INC R1' 34 ' DEC R2' 35 ' TEST R2' 36 ' AP8; JRNZ PrintLoop' 37 ' POP R1' 38 ' POP R2' 39 ' POP R3' 40 ' RET' 41 'HelloWorld:' 42 ' STRING ''Hello_World!''' 22 43 ) 44 ParentFont = False 23 45 ScrollBars = ssAutoBoth 24 46 TabOrder = 0 25 47 end 26 48 object ButtonLoadFromFile: TButton 27 Left = 828 Height = 3 129 Top = 50230 Width = 1 3649 Left = 10 50 Height = 37 51 Top = 603 52 Width = 163 31 53 Anchors = [akLeft, akBottom] 32 54 Caption = 'Load from file' 33 55 OnClick = ButtonLoadFromFileClick 56 ParentFont = False 34 57 TabOrder = 1 35 58 end 36 59 object ButtonSaveToFile: TButton 37 Left = 1 6038 Height = 3 139 Top = 50240 Width = 1 2860 Left = 192 61 Height = 37 62 Top = 603 63 Width = 154 41 64 Anchors = [akLeft, akBottom] 42 65 Caption = 'Save to file' 43 66 OnClick = ButtonSaveToFileClick 67 ParentFont = False 44 68 TabOrder = 2 45 69 end 46 70 object ButtonCompile: TButton 47 Left = 29748 Height = 3 149 Top = 50250 Width = 1 2671 Left = 356 72 Height = 37 73 Top = 603 74 Width = 151 51 75 Anchors = [akLeft, akBottom] 52 76 Caption = 'Compile' 53 77 OnClick = ButtonCompileClick 78 ParentFont = False 54 79 TabOrder = 3 55 80 end 56 81 object MemoMessages: TMemo 57 Left = 858 Height = 9759 Top = 4 0260 Width = 68982 Left = 10 83 Height = 116 84 Top = 483 85 Width = 826 61 86 Anchors = [akLeft, akRight, akBottom] 87 ParentFont = False 62 88 ReadOnly = True 63 89 ScrollBars = ssAutoBoth … … 65 91 end 66 92 object OpenDialog1: TOpenDialog 67 left = 1 1468 top = 1 5293 left = 137 94 top = 182 69 95 end 70 96 object SaveDialog1: TSaveDialog 71 left = 37972 top = 1 5297 left = 455 98 top = 182 73 99 end 74 100 end
Note:
See TracChangeset
for help on using the changeset viewer.