Table of Contents        Previous topic       Next topic       

The Extension Interface->Variant Specific Interface Calls->GetMachineCycles()

extern "C" LONG GetMachineCycles(LONG nExtensionState, BYTE nOpcode, BYTE* pnCycles)

If the machine cycles for a microcontroller instruction differs from that of the standard 8051, the extension should place the correct number of cycles in *pnCycles and return one. Otherwise the extension should return zero.