Changeset 154 for branches/virtualcpu2/UFormMain.pas
- Timestamp:
- Apr 23, 2018, 2:13:10 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/virtualcpu2/UFormMain.pas
r153 r154 95 95 Counter = 3; 96 96 Temp = 4; 97 Jump = 5; 97 98 var 98 99 Writer: TInstructionWriter; … … 103 104 Machine := Self.Machine; 104 105 AddGetDataSize(Temp); 105 AddCopyConst (Temp, 1);106 AddCopyConst8(Temp, 1); 106 107 107 108 AddCopyConst(Counter, 8); … … 116 117 AddDec(Counter); 117 118 AddTestNotZero(Counter); 118 AddJumpRelCond8(LoopAddr - Addr); 119 AddCopyConst8(Jump, LoopAddr - (Addr + 3)); 120 AddJumpRelCond8(Jump); 119 121 AddHalt; 120 122 end;
Note:
See TracChangeset
for help on using the changeset viewer.