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

assembler

How can I add file written in assembler to startup.s for LPC2148 ?

Parents
  • I know how to include for example main.c to startup.s

    No, you don't. Because that's not anything you're supposed to do in the first place.

    how and where to include main.s , where is difference between the both startup.s's.

    Your writing is utterly confused, to the point of being completely inunderstandable. For your own sake and everybody else's, please stop what you're doing and retrace your steps back to the start of whatever project you're in. Learn the tools from the documentation and tutorials before you embark on doing your own thing. Right now, you're asking how best to win a race against Carl Lewis when you've not even mastered walking.

Reply
  • I know how to include for example main.c to startup.s

    No, you don't. Because that's not anything you're supposed to do in the first place.

    how and where to include main.s , where is difference between the both startup.s's.

    Your writing is utterly confused, to the point of being completely inunderstandable. For your own sake and everybody else's, please stop what you're doing and retrace your steps back to the start of whatever project you're in. Learn the tools from the documentation and tutorials before you embark on doing your own thing. Right now, you're asking how best to win a race against Carl Lewis when you've not even mastered walking.

Children