hi! i tried buliding target in keil in assembly language and it gave a cryptic error.. can anyone help me figure out how to build target or run a assembly language written code in keil... i can well do it in C but unable to figure it out using assembly.... Thanks.
You haven't said which product you're using, or what error you're getting, so it's impossible to say! Have you looked in your Examples folder...?
hi! thanks for assistance.. i used * STARTUP.S: Startup file for Philips LPC2000 and then th source file contained a very simple programme: TTL ch4ex1 - move16 AREA Program,CODE,READONLY Main LDRB R1,Value STR R1,Result SWI &11 Value DCW &C123 ALIGN Result DCW 0 END and th error i found was : undefined symbol _main(referred frm startup.o) indefinrd symbol _use_two_region_memory (referred frm startup.o) target not created. as far as the question of product is concern ...i m unable to makle out what u wannna know... i m goin to burn one of the arm philips LS series......... and to cret .exe n other linking i m tring to use KEIL microversion3 arm development tool kit ....which i dowmloded frm http://www.keil.com free of cost...
i m goin to use ARM tools.....
"as far as the question of product is concern ...i m unable to makle out what u wannna know..." When you enter your message, immediately above the 'Summary' box is a box titled 'Product' - it's a drop-down list of Keil's Products; ie, C16x & ST10 Development Tools; C251 & 80C251 Development Tools; Cx51 & 8051 Development Tools; ARM7 Development Tools You should pick the one that describes the tools you are actually using. It now seems that would be "ARM7 Development Tools" And please stop the cute 'u' for "you", 'n' for "and", etc - if you really can't be bothered to make the effort to type them in full, then assembler programming is certainly not for you!
i am really sorry it ...thought it would help hasten the process.. i apologize...please help me fixing the problem.
"...thought it would help hasten the process.." Hasten your process of typing perhaps, but lengthens our process of reading and worse, demotivates us from replying. "undefined symbol _main(referred frm startup.o)" startup.s is the runtime startup code for a typical C program whose entry point is main(). I see you've got a "Main", but I think you'd agree that "Main" does not quite match "_main". "indefinrd symbol _use_two_region_memory (referred frm startup.o)" Determine what "_use_two_region_memory" and duplicate its functionality (and name) in your code or edit startup.s to eliminate the reference entirely.
resp. sir, the problem with "main" is probably solved as it gives no error regarding "main" when i changed "main" to "_main" but then with the same assembly code it gave another error which i tried fixing but was unable. the same code with 'main' replaced by '_main' gave the output: first.afx:error:L6913E:invalid value for --ro-base. but i am not using ro in my code. what may be the mistake sir? thanks
View all questions in Keil forum