try to create a project with the wizard for the RS08 KA2, select absolute assembly,
then paste the code of AN3266 into it.
Things to notice:
There has to be a space before a directive, so "ORG $1234" does not work, it has to be " ORG $1234" (or more spaces/tabs). Not sure how well pdf preserves spaces/tabs.
- ORG is actually a directive, so the error message is a bit strange.
- In order to assemble RS08 code, you have to pass in an option, otherwise the assembler runs in HC08 mode (I think it is -CRS08).
- For absolute assembly, you have to pass -FA2. When using a wizard generated project, those things are setup already, that's the reason for this proposal.
- it's actually possible to copy the error messages from the message window, press Ctrl-C.
If this does not help, please a zip file with your state, so we can check and see where the problem is from.
- I wonder if the error messages from the redefinitions of the MC9RS08KA2.inc are not actually correct, I could imagine the code in AN3266 was written without any external reference, then duplicate errors would not be much of a surprise to me.
Daniel