Ignore:
Timestamp:
Apr 11, 2019, 11:43:06 PM (5 years ago)
Author:
chronos
Message:
  • Added: More instructions.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/virtualcpu4/UFormMain.pas

    r172 r173  
    166166  with InstructionWriter do begin
    167167    LabelText := 200;
    168     LoadConst(R1, LabelText);
    169     LoadConst(R2, 12);
     168    Loadi(R1, LabelText);
     169    Loadi(R2, 12);
    170170  LabelPrint := IP;
    171171    DataPrefix8; LoadMem(R3, R1);
     
    176176    JumpNotZero(LabelPrint);
    177177
    178     LoadConst(R1, 100);
     178    Loadi(R1, 100);
    179179  LabelStart := IP;
    180180    Increment(R1);
    181     LoadConst(R2, 100);
     181    Loadi(R2, 100);
    182182    DataPrefix8; StoreMem(R2, R1);
    183183    DataPrefix8; Input(R2, 0);
Note: See TracChangeset for help on using the changeset viewer.