Ignore:
Timestamp:
Jul 12, 2022, 10:43:40 PM (2 years ago)
Author:
chronos
Message:
  • Modified: More instructions.
  • Modified: Optimized instruction execution with procedure array instead case.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/CpuSingleSize/UInstructions.pas

    r220 r223  
    11unit UInstructions;
    2 
    3 {$mode delphi}
    42
    53interface
     
    102100  AddNew(inJumpRel, 'JR', [ptNumber], 'Unconditional relative jump to defined address.');
    103101  AddNew(inLoadIndex, 'LDI', [ptReg, ptRegIndirectIndex], 'Loads value from memory with numeric index to register.');
    104   AddNew(inStoreIndex, 'STI', [ptRegIndirectIndex, ptReg], 'Stores value from register to memory with numeric index .');
     102  AddNew(inStoreIndex, 'STI', [ptRegIndirectIndex, ptReg], 'Stores value from register to memory with numeric index.');
     103  AddNew(inLoadCpu, 'LDC', [], 'Loads value from system register.');
     104  AddNew(inStoreCpu, 'STC', [], 'Stores value to system register.');
     105  AddNew(inEi, 'EI', [], 'Enables interrupts.');
     106  AddNew(inDi, 'DI', [], 'Disables interrupts.');
    105107end;
    106108
Note: See TracChangeset for help on using the changeset viewer.