Exemplo n.º 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();
 }
Exemplo n.º 2
0
 public SraCommand(StandardRegisterFile file, SpecialRegisterFile special, StackFile stack) : base(file, special, stack)
 {
 }
Exemplo n.º 3
0
 public Processor(int[] pfile, int[] pspecial, List <UInt32> pstack)
 {
     stack       = new StackFile(pstack);
     gpRegisters = new StandardRegisterFile(stack, pfile);
     sRegisters  = new SpecialRegisterFile(pspecial);
 }
Exemplo n.º 4
0
 public Processor()
 {
     stack       = new StackFile();
     gpRegisters = new StandardRegisterFile(stack);
     sRegisters  = new SpecialRegisterFile();
 }
Exemplo n.º 5
0
 public ALUCommand(StandardRegisterFile parFile, SpecialRegisterFile parSpecial, StackFile parStack)
 {
     file    = parFile;
     stack   = parStack;
     special = parSpecial;
 }