Si100x – Low Level Functions

No Operation (NOP)

A nop is an instruction that does nothing. It it used to stall a cpu for precisely timed operations. It can be created by making a pre-compiler macro that executes the assembly code 0x00 as shown below

// Macro
#define NOP() asm{0x00}

// Pause for two clock cycles

Posted: September 15th, 2011 at 7:30 pm

Leave a Reply