public ContinueProgramResult()
 {
     res           = new RiscVProgramResult();
     debugRes      = new List <RiscVProgramResult>();
     commandsToExe = new Dictionary <uint, ExeCommand>();
     stringTable   = new Dictionary <string, uint>();
 }
Exemplo n.º 2
0
 public RiscVProgramResult(RiscVProgramResult result, int debugline = 0)
 {
     Register = new Register[result.Register.Length];
     Memory   = new Dictionary <uint, byte>(result.Memory);
     for (int i = 0; i < result.Register.Length; i++)
     {
         Register[i] = new Register
         {
             Name  = result.Register[i].Name,
             Value = result.Register[i].Value
         }
     }
     ;
     DebugLine        = debugline;
     GraphicBorder    = new List <GraphicBorder>(result.GraphicBorder);
     alphanumericData = new AlphanumericData(result.alphanumericData);
 }