CodeWarrior 8- & 16-bit tools: Problem with the ST7 ASM directives

cancel
Showing results for 
Search instead for 
Did you mean: 

CodeWarrior 8- & 16-bit tools: Problem with the ST7 ASM directives

1,316 Views
Contributor V

To help you find solutions to problems that have already been solved, we have posted this message. It contains an entire topic ported from a separate forum. The original message and all replies are in this single message.

 

Posted: Jul 16, 2004 - 06:39 AM   

 

I am programming a ST72324 and I use Metrowerks CodeWarrior to code my application. But there is a problem with some ASM directives like the directive BYTES or EQU .

The assembler makes errors :

Quote:
A16201 : Not a mnemonic or directive


Is this error normal ? Is there any solution to avoid these errors ?

Simon BRIZARD


 

  Posted: Jul 16, 2004 - 08:49 AM   

Hi

Did you activate compatibility with ST assembler syntax.

Make sure you are assembling with option -ST (STMicroelectronics Assembler Compatibility Mode).

You can adjust assembler options the following way:

- Open the target setting dialog (Press ALT + F7)
- Go to Assembler for ST7 Panel
- Enter the option "-ST" in the Command line

Best Regards

mw_cbezy

Labels (1)
Tags (1)
0 Kudos
0 Replies