Changeset 14 for branches/test2/FormMain.pas
- Timestamp:
- Nov 6, 2025, 10:35:31 PM (35 hours ago)
- Location:
- branches/test2
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
FormMain.pas (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/test2
-
Property svn:ignore
set to
lib
Project1
Project1.res
Project1.lps
-
Property svn:ignore
set to
-
branches/test2/FormMain.pas
r13 r14 42 42 43 43 procedure TForm1.FormShow(Sender: TObject); 44 const 45 Value0 = 0; 46 Value1 = 0; 47 Port0 = 0; 44 48 begin 45 49 with Cpu do begin 46 50 OnOutput := OutputExecute; 47 AddInstruction(opSet, 0, 10);48 AddInstruction(opOutput, 0,0);49 AddInstruction(opIncrement, 0,0);50 AddInstruction(opOutput, 0,0);51 AddInstruction(opSet, 1, 5);52 AddInstruction(opAdd, 0,1);53 AddInstruction(opOutput, 0,0);54 AddInstruction(opTerminate , 0, 0);51 AddInstruction(opSet, Value0, 10); 52 AddInstruction(opOutput, Port0, Value0); 53 AddInstruction(opIncrement, Value0); 54 AddInstruction(opOutput, Port0, Value0); 55 AddInstruction(opSet, Value1, 5); 56 AddInstruction(opAdd, Value0, Value1); 57 AddInstruction(opOutput, Port0, Value0); 58 AddInstruction(opTerminate); 55 59 SetLength(Memory, 10000); 56 60 Run;
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/portvm/chrome/site/your_project_logo.png)