This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Assembler error

When I try compile assembler source with directives .sect I get assembler error: [E0002] Invalid mnemonic specification. For example, this simple code compiled ok:


 .text
ADD #0001h, A

When i add that:

 .text
ADD #0001h, A
 .sect "mysect"
 ADD #0002h, A

I get error with directives .sect: [E0002] Invalid mnemonic specification.
What is wrong?