This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

C Sylte comments in ASM files

Is there any way to get the A166 compiler to recognise C block style comments (i.e. /**/)in an ASM file?

It would make life a lot easier for our source control software it it was.

Parents
  • Well, the latest A51 manual says,

    "The Ax51 macro assembler has a standard C macro preprocessor that is almost identical with the macro preprocessors in the Cx51 compiler."

    It's not entirely clear whether this means that Ax51 has a complete 'C' preprocessor, or just the macro processing part of it; if it has a complete 'C' preprocessor, this should handle 'C' comments.
    Check the A166 manual.

    What your problem with the source control software?

    Could you put your 'C'-style comments into Assembler comments? eg,

    ; /*...*/
    Sounds pretty poor if the only comment form it understands is /*...*/ - obviously the wrong choice for a mixed-language project! :-(

    Good ol' UNIX SCCS could cope with it...

Reply
  • Well, the latest A51 manual says,

    "The Ax51 macro assembler has a standard C macro preprocessor that is almost identical with the macro preprocessors in the Cx51 compiler."

    It's not entirely clear whether this means that Ax51 has a complete 'C' preprocessor, or just the macro processing part of it; if it has a complete 'C' preprocessor, this should handle 'C' comments.
    Check the A166 manual.

    What your problem with the source control software?

    Could you put your 'C'-style comments into Assembler comments? eg,

    ; /*...*/
    Sounds pretty poor if the only comment form it understands is /*...*/ - obviously the wrong choice for a mixed-language project! :-(

    Good ol' UNIX SCCS could cope with it...

Children
No data