Ignore:
Timestamp:
Apr 20, 2018, 10:56:29 PM (7 years ago)
Author:
chronos
Message:
  • Modified: Conditional jump/call divided to test instruction executed before jump.
  • Added: More opcode handling.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/virtualcpu2/UFormMain.pas

    r151 r153  
    107107    AddCopyConst(Counter, 8);
    108108    AddCopyConst(Source, $30);
    109     AddCopyConst(Dest, $40);
     109    AddCopyConst(Dest, $60);
    110110
    111111    LoopAddr := Addr;
     
    115115    AddInc(Dest);
    116116    AddDec(Counter);
    117     AddJumpRelNotZero(Counter, LoopAddr - Addr);
     117    AddTestNotZero(Counter);
     118    AddJumpRelCond8(LoopAddr - Addr);
    118119    AddHalt;
    119120  end;
Note: See TracChangeset for help on using the changeset viewer.