Assembly coded in port.c giving some errors for stm32f103 in keil compiler

Stm32f103 porting , IDE keil

__asm void xPortPendSVHandler( void )
{
PRESERVE8

for this line it gives 2 error as:

1)expected ‘(’ after asm
2) Use of undefined identifier for PRESERVE8

It seems some syntax error

needed help to resolve

Which version of the Keil compiler are you using?