Crossware

Table of Contents        Previous topic       Next topic       

The Extension Interface->General Purpose Interface Calls->SetMachineCycles()

extern "C" void SetMachineCycles(LONG nExtensionState, LONG nCycles)

The extension should reset it's own count of the microcontrollers execution cycles to the value nCycles.  At present the call is made when the simulation is restarted, and nCycles is always zero.