Truncated match.
PICList
Thread
'Macros no longer assemble'
1996\09\10@235940
by
John & Maria Perry
|
In mid-August, I downloaded MPLAB 3.09.03. At about the same time, my
Syquest removable drive acquired a bunch of bad sectors (no, I don't think
MPLAB did it). Also, at about the same time, the fixed-point routines that
I had previously downloaded and adapted to my use stopped assembling, and so
did my file of macros.
The fixed-point routines are now working fine, but the macros still do not
assemble. Every definition of a macro shows up in the list file symbol
table as a valid macro, and the cross-reference file shows them as macros.
However, every instantiation in the code comes up with errors. Here is a
sample from my test code (stb16 stores a 16-bit value from BARGB0,1 to tmp).
Warning[207]: Found label after column 1. (stb16)
Error[122] : Illegal opcode (tmp)
0002 0008 00061 stb16 tmp
0003 0008 00062 return
...
00135 stb16 macro dst
00136 ioff
00137 movf BARGB1, W
00138 movwf dst
00139 movf BARGB0, W
00140 movwf dst+1
00141 ion
00142 endm
00143
ioff and ion are macros to turn interrupts off and on. There are no other
errors or warnings. This file assembled and simulated fine before the
update/crash. What is going on?
john perry
spam_OUTjperryTakeThisOuT
norfolk.infi.net
1996\09\11@022119
by
fastfwd
More... (looser matching)
- Last day of these posts
- In 1996
, 1997 only
- Today
- New search...