SI100X FAMILY

Si100x - Low Level Functions

Article by:
Date Published:
Last Modified:

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

1
2
3
4
5
6
// Macro
#define NOP() asm{0x00}

// Pause for two clock cycles
NOP();
NOP();

Authors

Geoffrey Hunter

Dude making stuff.

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License .

Tags

comments powered by Disqus
Page contents: