C18116: `}' or register expected

[ERROR

Description

The right brace of one of the register lists was omitted, or an incorrect register has been passed.

Example
  asm RTS ! {    , A} //Error

  
  asm RTS ! {Z}, A} //Error