C18102: Object is not a structure

ERROR]

Description

The HLI assembler expects a struct / class type on the left side of the "." assembly operator.

Example
  struct _str { int flag;}

  
  int port;

  
  asm LDA  port.flag

  
   /*Error, port is not of struct type*/