Maybe a beginners question, but I don't know whats wrong there.
In my program I have to copy different strings from Flash to my transmit queue which is in RAM (for sure :-)). So I tried to find a good assembler routine to do this with minimal effort. Fortunately (?) I have found a routine in HCS08RM chapter 18.104.22.168 "Memory to Memory Moves":
If I start with "make" button of CW5.1 I get the following Error:
A2401: Complex relocatable expression not supported for " lda (Text-TX_queue),x"
I don't know why this is happening. It should be a valid command (address mode IX2). Is this a bug of CW5.1 or do I have to use fixed flash adresses and compute the difference of "Text-TX_queue" by myself?
Many thanks in advance!
J2MEJediMaster added MCU type and CodeWarrior version to subject line
Message Edited by J2MEJediMaster on 2007-06-05 09:19 AM