Home | History | Annotate | Download | only in examples

Lines Matching refs:Simulator

61 void run_function(Simulator *simulator, Label *function,
63 simulator->set_xreg(0, value);
64 simulator->set_xreg(1, low);
65 simulator->set_xreg(2, high);
67 simulator->RunFrom(function->target());
69 simulator->xreg(0) ? "is" : "is not",
72 simulator->ResetState();
76 // Create and initialize the assembler and the simulator.
80 Simulator simulator(&decoder);
89 run_function(&simulator, &check_bounds, 546, 50, 1000);
90 run_function(&simulator, &check_bounds, 62, 100, 200);
91 run_function(&simulator, &check_bounds, 200, 100, 200);