Embedded strings in code mpasm error


Results 1 to 10 of 10

Threaded View

  1. #1
    Join Date
    Jul 2010
    Posts
    14

    Default Embedded strings in code mpasm error

    I'm using the code below. I am keep receiving these errors and can't figure out why. It did work before for me but now doesn't. Any help would be greatly appreciated. I'm using the latest version of PBP and MPLab 8.4 with associated MPASM. Seems it doesn't recognize "Wout" .

    ERROR: Unable to execute mpasmwin.Error[113] C:\PBP\PBPPI18L.LIB 593 : Symbol not previously defined (Wout)
    Error[113] C:\PBP\PBPPI18L.LIB 601 : Symbol not previously defined (Wout)
    Error[113] C:\PBP\PBPPI18L.LIB 601 : Symbol not previously defined (Wout)
    Error[113] C:\PBP\LSI\PORTEXPANDER\PORTEXPANDER.ASM 672 : Symbol not previously defined (Wout)
    Error[113] C:\PBP\LSI\PORTEXPANDER\PORTEXPANDER.ASM 674 : Symbol not previously defined (Wout)
    Error[113] C:\PBP\PBPPI18L.LIB 593 : Symbol not previously defined (Wout)
    Error[113] C:\PBP\PBPPI18L.LIB 601 : Symbol not previously defined (Wout)
    Error[113] C:\PBP\PBPPI18L.LIB 601 : Symbol not previously defined (Wout)
    Error[113] C:\PBP\LSI\PORTEXPANDER\PORTEXPANDER.ASM 672 : Symbol not previously defined (Wout)
    Error[113] C:\PBP\LSI\PORTEXPANDER\PORTEXPANDER.ASM 674 : Symbol not previously defined (Wout)
    Error[113] C:\PBP\PBPPI18L.LIB 593 : Symbol not previously defined (Wout)
    Error[113] C:\PBP\PBPPI18L.LIB 601 : Symbol not previously defined (Wout)
    Error[113] C:\PBP\PBPPI18L.LIB 601 : Symbol not previously defined (Wout)
    Error[113] C:\PBP\LSI\PORTEXPANDER\PORTEXPANDER.ASM 672 : Symbol not previously defined (Wout)
    Error[113] C:\PBP\LSI\PORTEXPANDER\PORTEXPANDER.ASM 674 : Symbol not previously defined (Wout)




    Code:
    '------------GetAddress Macro - Location insensitive -------------------------
    ASM
    GetAddress macro Label, Wout       ; Returns the Address of a Label as a Word
        CHK?RP Wout
        movlw low Label
        movwf Wout
        movlw High Label
        movwf Wout + 1
        endm
    ENDASM
    Last edited by BrianS; - 23rd August 2010 at 17:58.

Members who have read this thread : 0

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