john2020
Full Member level 5

Legacy PIC code
hi all,
I inherited a bunch of legacy PIC assembly source code and am not
familiar with PIC assembly language. When I assemble it with MPASM I
get a pot full of assembly errors. The source code uses literal
labels. What seems to be causing problems are statements as follows:
LEDBUF1 = 047h
LED_1 = LEDBUF1.0
the assembler gives the following error
Error[113] : Symbol not previously defined (LEDBUF1.0)
I can't find equivalent statements in the user guide. Does anyone
know if this syntax is valid for an old assembler or third party
assembler?
hi all,
I inherited a bunch of legacy PIC assembly source code and am not
familiar with PIC assembly language. When I assemble it with MPASM I
get a pot full of assembly errors. The source code uses literal
labels. What seems to be causing problems are statements as follows:
LEDBUF1 = 047h
LED_1 = LEDBUF1.0
the assembler gives the following error
Error[113] : Symbol not previously defined (LEDBUF1.0)
I can't find equivalent statements in the user guide. Does anyone
know if this syntax is valid for an old assembler or third party
assembler?