I would appreciate any assistance to the following problem.

The following 2 lines of code result in error during compilation:

Var
   Testcode: integer; asmname 'testcode';

Error:
try_hello.pas:3: parse error before character constant
try_hello.pas:5: comma missing after identifier `Asmname'
try_hello.pas:5: parse error before `;'

Note:  Line 3 is the line with asmname keyword.

I am using:
GNU Pascal version 2.95 19990728 (release) (i386-pc-solaris2.7)
compiled by GNU C version 2.95.1 19990816 (release).

If I remove the asmname 'testcode' from line 3, then the
compilation goes through without any errors.

Thanks in advance for any assistance.

Jing Gloria
Texas Instruments