ASM Error [108]


Today 11:22
Forum: Proton Studio
Starter: Puffeltje
Views: 0
Replies: 6
Go to last post By: moonshadow
Yesterday 18:06
Forum: Absolute Beginners Section
Starter: moonshadow
Views: 0
Replies: 43
+ Reply to Thread
Results 1 to 5 of 5

Thread: ASM Error [108]25 days old

  1. #1
    Junior Member gtv_pic's Avatar
    Join Date
    Nov 2005
    Posts
    39
    Thumbs Up
    Received: 2
    Given: 1
    Total Downloaded
    6.60 GB

    0 Not allowed!

    Default ASM Error [108]

    good afternoon
    I am using an 18F47K40 in which I have to cominicate by serial port 1 to 9600 8, E, 1.
    I understand that the proton instruction is
    Code:
    '
    '++++++++++++++++++++++[Tipo de Procesador]+++++++++++++++++++++++++++++++++++++
    ' Tipo de Procesador
    Device =  18F47K40
    Declare Xtal                       11   ' Velocidad Real 11.059.200Hz
    Declare Optimiser_Level             0   ' Tipo Optimizacion del Compilador
    Declare Dead_Code_Remove         True   ' Elimina el Codigo Sobrante
    '++++++++++++++++++++++[Genericas]++++++++++++++++++++++++++++++++++++++++++++++
    Declare Show_System_Variables =  True   ' Ver Variables Internas en Simulador
    Declare Reminders             = False   ' Anula comentarios del compilador
    Declare PLL_Req               =  True   ' Multiplicar Oscilador X4.
    Declare Label_Bank_Resets     = True 
    Declare Stack_Size            =    20   ' Reserva Espacio en la Pila.
    Declare Float_Rounding        = False   ' Redondeo en los calculos   
    Declare Reminders             =  True   ' Habilita comentarios del compilador
    Declare Watchdog              = FALSE   ' El Compilador NO pone CLRWDT 
    Declare FSR_CONTEXT_SAVE      =  True   ' Guardar Variables Antes de Interupcion
    Declare Icd_Req               =  True   ' Reservar Espacio para ICD2
    Declare Bootloader            =  False  ' No Permite la Carga del Puerto Serie
    Declare Create_Coff           = True    ' Crear Fichero .COF
    Declare All_Digital           = True    ' Todos los Pines Digitales
    '    
    '++++++++++++++++++++++[Comunicacion Serie Puerto 1]++++++++++++++++++++++++++++
    '                     Red RS485 de Encoder y MODBUS Accionamiento
    Declare HserOut_Pin           PORTC.6   ' Pin TX del Puerto 1
    Declare HserIn_Pin            PORTC.7   ' Pin RX del Puerto 1
    Declare Hserial_Baud            9600    ' Velocidad del Puerto Serie    
    Declare Hserial_Parity         = Even   ' Paridad Par
    The last instruction "Declare Hserial_Parity = Even"
    It generates the following errors
    errores.png

    Does anyone know what is going on?
    Thank you so much

  2. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  3. #2
    Fanatical Contributor top204's Avatar
    Join Date
    Feb 2002
    Posts
    3,225
    Thumbs Up
    Received: 371
    Given: 131
    Total Downloaded
    1.58 GB

    1 Not allowed!

    Default Re: ASM Error [108]

    A new update will be posted ASAP.

    It was down to you using the Hserial_Parity declare, but not actually using Hrsout or Hrsin or Hserout or Hserin in the program, as I never thought to trap that code generation as I always thought the declare would be used with one of those commands. LOL See what I mean about writing compilers that have a million permutations? Even the things you think are highly unlikely to happen, happen. :-)

    However, even when I correctled the library Asm code generation, an assembler constant declaration that has been in the compiler from day one and never caused any issues, caused the assembler to give an error. So the latest assembler version also has a few more quirks than normal.

    It took a few hours to sort, but sorted it is and an update will be in the files section, probably tomorrow.

  4. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  5. #3
    Junior Member gtv_pic's Avatar
    Join Date
    Nov 2005
    Posts
    39
    Thumbs Up
    Received: 2
    Given: 1
    Total Downloaded
    6.60 GB

    0 Not allowed!

    Default Re: ASM Error [108]

    Thank you very much Les
    You are really the team's salvation
    Of course I still could not review the new version but I fully trust that the problem is solved.


    Of course I remember that now the compiler allows to use routines with parameters of the SUB type (x ,,, What would I have to do to update the compiler for these new functions?


    Thank you very much again
    bye

  6. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  7. #4
    Senior Member Stephen Moss's Avatar
    Join Date
    Jan 2006
    Posts
    466
    Thumbs Up
    Received: 38
    Given: 7
    Total Downloaded
    2.88 GB

    0 Not allowed!

    Default Re: ASM Error [108]

    Quote Originally Posted by gtv_pic View Post
    Thank you very much Les
    Of course I remember that now the compiler allows to use routines with parameters of the SUB type (x ,,, What would I have to do to update the compiler for these new functions?
    See the bottom of page 3 in the Manual for instructions

  8. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  9. #5
    Junior Member gtv_pic's Avatar
    Join Date
    Nov 2005
    Posts
    39
    Thumbs Up
    Received: 2
    Given: 1
    Total Downloaded
    6.60 GB

    2 Not allowed!

    Default Re: ASM Error [108]

    Agree and Understood

    Thank you so much

  10. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. ASM ERROR : Linker Error
    By SimonJA in forum Proton 24
    Replies: 15
    Last Post: 25th February 2018, 11:29
  2. Replies: 1
    Last Post: 11th November 2014, 08:27
  3. Hundreds of ASM error of the same errors. Error [126]
    By wirecut in forum Proton Plus Compiler v3
    Replies: 2
    Last Post: 28th January 2012, 08:10
  4. Asm error:error[118]
    By Citius in forum Proton Plus Compiler v3
    Replies: 23
    Last Post: 24th April 2011, 09:34

Members who have read this thread since 16th June 2019, 16:20 : 0

Actions :  (Set Date)  (Clear Date)

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts