C18107: Illegal operands

[ERROR]

Description

The inline assembly instruction operands do not match any of the instruction's addressing modes.

Example
  asm JSR X 

  
  /*Error: the addressing mode with one parameter (which 
  requires an immediate operand) is used but instead of an 
  integer value a register is passed.*/