Menu

Error on compiling INTERRUPT with MPASM

2009-10-13
2013-05-30
  • Hardy Leonardo da Cunha Pereira

    Hey guys,

       If you use the On Interrupt statement, when it compiles it generates the call to ISR using all caps (goto INTERRUPT) and the label using normal letters (Interrupt).
      It is not a big deal, but you have to manually change this if you use MPASM.

       Best Regards,

                   Realtico

     
  • Nobody/Anonymous

    Same happens if you use division, except that now there are 5 or 6 labels to fix.

     
  • Nobody/Anonymous

    Until you uncheck the case sensitive box in MPASM.exe from the MPASM folder, it will continue to so.

    Kent

     
  • Hardy Leonardo da Cunha Pereira

    Totally agree with you, Kent. I've never noticed that option, though.

    BUT! being a software developer for 30 years, I consider completely ugly coding having labels and variables (even if the compiler is case-insensitive) named using random-case.

    Since the code is open for changes, I would consider uniformizing all label/variable names, for keeping the code clean, nice and compatible with ANY assembler program.

       Best Regards,

                Realtico
      

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.