Skip to content

Cycle Class ​

Definition ​

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

c#
public sealed class Cycle : IEquatable<Cycle>

View source

Constructors ​

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

Properties ​

NameDescription
AddressGets the memory address associated with the cycle.
DataGets the data value associated with the cycle, if any.
IndexGets the sequential index of the cycle.
IsOpcodeReadGets a value indicating whether this cycle is reading an opcode. Only set when Type is MemoryRead.
TypeGets the type of CPU cycle.

Methods ​

NameDescription
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 ​

NameDescription
Equality(Cycle, Cycle)Tests if two Cycle instances are equal to each other.
Inequality(Cycle, Cycle)Tests if two Cycle instances are not equal to each other.