We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
How can I add file written in assembler to startup.s for LPC2148 ?
You don't "add a file" to another. You either include its contents into the existing file, or you add both files to a common project.
O.K. then. I know how to include for example main.c to startup.s but don't know how and where to include main.s , where is difference between the both startup.s's.
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.
Is there anybody else on the forum except "scientist poet"Hans-Bernhard Broeker ?
In fact, yes there is! Not that you asked, but we think he's doing a bang-up job. Anything else?
Your question was answered in a far better way than the content deserved.
If you want a different answer, consider rewriting the question in a more clearly thought out manner.
Who knows, maybe your next answer could get a lymeric as a response. What the heck, I'll start one off for you:
There was a young programmer from Ealing, His girlfriend he thought was appealing, When coding one day, (please continue here)
There was a young programmer from Ealing, His girlfriend he thought was appealing, When coding one day, He got bored and did say, "I'll take her for a nice cup of Darjeeling!"
en.wikipedia.org/.../Darjeeling_tea
Andy,
Bravo !!!
The rhyme for Ealing...Darjeeling came from:
"There was a youn man from Darjeeling Who boarded a bus bound for Ealing It said on the door, 'Please don't spit on the floor' So he stood up and spat on the ceiling!"
... to the point of being completely inunderstandable. ...how best to win a race against Carl Lewis when you've not even mastered walking.
It was Lewis Carroll in his masterpiece 'Alice's Adventure in Wonderland" who wrote: "I do," Alice hastily replied; "at least I mean what I say - that's the same thing, you know." And I spare you quoting the lecture the March Hare gave her for that logical construct....
Since you have gently touched on topic of "mastery", I must (Ich muss) correct you: there is no such English word as inunderstandable, but there is this word:ununderstandable. Yeah, semantics, that always gets you, whether one expresses his/her ideas in an ass-embler, C or English. :-)