PIC18 cheatsheet

NOP

Detailed reference for the NOP instruction in PIC18 ISA.

Description

Perform no operation. The instruction consumes one instruction cycle and leaves every register and flag unchanged.

  • No operands—the opcode alone encodes the operation.
  • The instruction is useful for timing adjustments or pad alignment.

Examples

; NOP does nothing
NOP ; instruction consumes 1 cycle