DSPRelated.com
Forums

LDX?

Started by Michael Gao March 30, 2000
Sorry to bother:
 
I am coding C5409, how should I set the CCS to use "LDX" ?
I did it as the following, but got an error msg as:
----------------Invalid instruction for specified processor version-----------------
 
======================================================================
 LDX  #dummy_1, 16, A     ;  loads the upper 8 bits of the 24-bit address of
                                               ; dummy_1 Function  into A
OR      #dummy_1, A, A       ; adds in the lower 16 bits of the address
=========================================================================
 
I've tried to set processor version as 548, but does not work,
 
/Michael