Menu

Multiplikation and MPLAB-SIM

Help
2008-01-17
2013-05-30
  • Nobody/Anonymous

    Doing something like
    speed = speed * 15
    compiles and assembles fine and without errors or warnings with GCBASIC,
    PIC is a 16C57

    But when I try to simulate this program with MPLAB (V8.0) and build the project,
    I get the following errors :
    Error[113]   C:\PROGRAMME\GCBASIC\COMPILED.ASM 57 : Symbol not previously defined (SysCalcTempA)
    Error[113]   C:\PROGRAMME\GCBASIC\COMPILED.ASM 59 : Symbol not previously defined (SysCalcTempB)
    Error[113]   C:\PROGRAMME\GCBASIC\COMPILED.ASM 60 : Symbol not previously defined (SysMultSub)
    Error[113]   C:\PROGRAMME\GCBASIC\COMPILED.ASM 61 : Symbol not previously defined (SysCalcTempX)
    Halting build on first failure as requested.
    BUILD FAILED: Thu Jan 17 13:31:26 2008

    Any idea what could be wrong ?

    regards,
          Reelf

     
    • Hugh Considine

      Hugh Considine - 2008-01-23

      GCBASIC doesn't always use the same case for the subroutines and variables associated with the multiplication and divide routines. Normally this doesn't have any effect, but MPLAB defaults to assembling programs with case sensitivity enabled. Hence, when using the default settings in MPLAB this error occurs.

      The solution is simple - just disable case sensitivity in MPLAB. I'm not sure how to do this in MPLAB 8.0, but in 7.52 this is how:

      - Click the "Project" menu, then the "Build Options..." submenu, then "Project"
      - Click the "MPASM Assembler" tab
      - Tick the box "Disable case sensitivity"
      - Click "OK"

      You'll need to do this for every project you create. I'll fix this issue soon, it shouldn't be too difficult as long as I remember to do it!

       
    • Nobody/Anonymous

      Great !  I love error that are so easy to overcome :-)
      It's under: Build option / Projekt / Assembler

      Thank you very much !

      regards,
            Reelf

       

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.