M6502StepEmulator.ExecuteInstruction Method
Definition
Executes a single instruction; used for testing.
public void ExecuteInstruction(Action<ActionRequired> onStepComplete, Action? onBeforeStep = null);
Parameters
| Name | Type | Description |
|---|---|---|
onStepComplete |
Action<ActionRequired> |
Called after every step. Use to perform any action required at the end of a step. |
onBeforeStep |
Action |
Optional function that is called before each step. |