Method: Ruby6502.step_times

Defined in:
ext/ruby6502/ruby6502.c

.step_times(stepCount) ⇒ Object



80
81
82
83
84
85
86
87
88
# File 'ext/ruby6502/ruby6502.c', line 80

static VALUE step_times(VALUE self, VALUE stepCount)
{
  int steps = NUM2INT(stepCount);
  for(int i = 0; i < steps; ++i) {
    step6502();
  }

  return instruction_count(self);
}