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?
View all questions in Keil forum