Solved! Go to Solution.
Hello
There are a couple of issues in the snippet you have provided.
In there you have a comment
; code section
This is not enough to define a code section for your application. You need to define a code section as follows:
MY_CODE: SECTION
Next you need to define a label for the beginning of the actual code.
For instance:
main:
LDAA #100
STAA TAA
Finally you have no labels Entry or _Startup in your code. So you need to remove those symbol names from the XDEF line
Once that is done you should be able to assemble the source file.
CrasyCat
Hello
- Which CPU are you targeting (HC08, HC12, Coldfire, ..)
- Which version of CodeWarrior are you using?
To retrieve that info:
- Start CodeWarrior
- Select Help -> About Freescale CodeWarrior
- Click on "Install Products"
- CodeWarrior version used is displayed on top in the Installed Products dialog.
CrasyCat
I am using Dragon Board with HCS12 MC9S12DG256 with
CodeWarrior development studio for s12(x) version 5.0 build 9061
so what to do next ...................
Hello
There are a couple of issues in the snippet you have provided.
In there you have a comment
; code section
This is not enough to define a code section for your application. You need to define a code section as follows:
MY_CODE: SECTION
Next you need to define a label for the beginning of the actual code.
For instance:
main:
LDAA #100
STAA TAA
Finally you have no labels Entry or _Startup in your code. So you need to remove those symbol names from the XDEF line
Once that is done you should be able to assemble the source file.
CrasyCat