C18105: Unexpected `@'

[ERROR]

Description

The "@" assembly operator can be used only with global variables. Applied in front of a variable it will refer to the address of that variable.

Example
  asm  lda @100  /*Error: constant values aren't accepted 
  after @ operator*/

  
  asm  lda @local_var /*Error: local values aren't accepted 
  after @ operator*/