Пример #1
0
 public InstructionMapper(Dictionary <String, Int32> label, Dictionary <String, Object> ROData, StandardRegisterFile parFile, SpecialRegisterFile parSpecial, StackFile parStack)
 {
     this.labels  = label;
     this.RO_Data = ROData;
     file         = parFile;
     special      = parSpecial;
     stack        = parStack;
     SetCommands();
 }
Пример #2
0
 public SraCommand(StandardRegisterFile file, SpecialRegisterFile special, StackFile stack) : base(file, special, stack)
 {
 }
Пример #3
0
 public Processor(int[] pfile, int[] pspecial, List <UInt32> pstack)
 {
     stack       = new StackFile(pstack);
     gpRegisters = new StandardRegisterFile(stack, pfile);
     sRegisters  = new SpecialRegisterFile(pspecial);
 }
Пример #4
0
 public Processor()
 {
     stack       = new StackFile();
     gpRegisters = new StandardRegisterFile(stack);
     sRegisters  = new SpecialRegisterFile();
 }
Пример #5
0
 public ALUCommand(StandardRegisterFile parFile, SpecialRegisterFile parSpecial, StackFile parStack)
 {
     file    = parFile;
     stack   = parStack;
     special = parSpecial;
 }