M6502InstructionEmulator.ExecuteInstruction Method
Definition
Executes one complete instruction or scheduled sequence.
public int ExecuteInstruction<THandler>(ref THandler handler)
where THandler : IM6502BusHandler;
Type Parameters
| Name | Description |
|---|---|
THandler |
Parameters
| Name | Type | Description |
|---|---|---|
handler |
THandler |
Handles the external bus actions required to execute the instruction. |
Returns
The number of T-states executed.