Yuri Petriaev

Using CW for ColdFire v.6.4, target MCF5307, assembly error: "Illegal relocatable".

Discussion created by Yuri Petriaev on Jul 5, 2007
Latest reply on Jul 6, 2007 by Simon Marsden
I have this simple statement in my os_cpu_a.s file:
...
TER0 .equ ___MBAR+0x151
...
 
It seems quite legal but compiler throws exception bellow:
Error   : Illegal relocatable expression
os_cpu_a.s line 161   TER0 .equ ___MBAR+0x151
 
I'm quite sure the answer is very simple I just can't find any info in the help files.
Can anyone please give me a hint what I'm I missing here?
 

Outcomes