Skip to content

M6502InstructionEmulator.ExecuteInstruction Method

Definition

Executes one complete instruction or scheduled sequence.

public int ExecuteInstruction<THandler>(ref THandler handler)
   where THandler : IM6502BusHandler;

View source

Type Parameters

Name Description
THandler

Parameters

Name Type Description
handler THandler Handles the external bus actions required to execute the instruction.

Returns

Int32

The number of T-states executed.