Tom Grimes

undefined identifier 'pc'

Discussion created by Tom Grimes on Jan 17, 2008
Latest reply on Jan 18, 2008 by CrasyCat
CodeWarrior IDE v5.9.0 build 2502
Target MCF5206e
 
Porting some assembly code that compiled under IDE v4.1.0.3.  In particular:
jmp  (pc,d2.l*2)
 
This causes a number of errors to be reported; the first of which is:
" undefined indentifier 'pc' "
 
???  pc is a valid 5206e register. 
 
Any idea what might be wrong?
 
Thanks
tom

Outcomes