Skip to content

Cycle Class

Definition

Represents a single CPU cycle with its associated type, timing, address, and data information.

public sealed class Cycle : IEquatable<Cycle>

View source

Constructors

Name Description
Cycle(CycleType, UInt64, UInt16, Byte?, Boolean) Represents a single CPU cycle with its associated type, timing, address, and data information.

Properties

Name Description
Address Gets the memory address associated with the cycle.
Data Gets the data value associated with the cycle, if any.
Index Gets the sequential index of the cycle.
IsOpcodeRead Gets a value indicating whether this cycle is reading an opcode. Only set when Type is MemoryRead.
Type Gets the type of CPU cycle.

Methods

Name Description
Equals(Cycle) Indicates whether this Cycle is equal to another Cycle.
Equals(Object) Determines whether the specified object is equal to this Cycle.
GetHashCode() Gets a hash code for this Cycle.
ToString() Returns a string representation of this Cycle.

Operators

Name Description
op_Equality(Cycle, Cycle) Tests if two Cycle instances are equal to each other.
op_Inequality(Cycle, Cycle) Tests if two Cycle instances are not equal to each other.