END

Function
Ends program execution.

Explanation
END prevents the SX from executing any further instructions until it is reset, either externally (via MCLR\ pin) or by a watchdog timer timeout. END does not place the SX in low power (SLEEP) mode.

Main:
  FOR idx = 1 TO 10
    HIGH RB.0
    PAUSE 100
    LOW RB.0
    PAUSE 100
  NEXT
  END

Related instructions: SLEEP and RESETWDT