This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to start with an existing assembly code?

Hi,

I have a project passed down by other ppl. I have an existing main.a51 and a HEX file. I'm using uVision2 for this prjt, but i do not know how to start with it as most of the example i saw is written in C.

Are they the same? That means i add the assembly file, i.e. main.a51 in the Target 1> Source Group 1 folder then build the target will do?

I'm very lost, pls help. Thanx.

regards

Parents
  • Hi,

    Thanx alot for the links.

    So... when i finish the coding and I build the Target, i got (0) Errors and (0) Warnings. But for BUILD, it only tells us whether is there any syntax error. And I can't find COMPILE in the uVision2 that I use.
    How can i check whether it perform as i wish?

    After building, i got Main.a51, Main.lts, Mian.obj, Project.hex, Project, Project.lnp, Project and Project.m51.

    thanx.

    regards

Reply
  • Hi,

    Thanx alot for the links.

    So... when i finish the coding and I build the Target, i got (0) Errors and (0) Warnings. But for BUILD, it only tells us whether is there any syntax error. And I can't find COMPILE in the uVision2 that I use.
    How can i check whether it perform as i wish?

    After building, i got Main.a51, Main.lts, Mian.obj, Project.hex, Project, Project.lnp, Project and Project.m51.

    thanx.

    regards

Children