Author Topic: Startup.asm for 8051 uC  (Read 12200 times)

gi

  • Member
  • ***
  • Posts: 27
Startup.asm for 8051 uC
« on: June 06, 2011, 01:25:44 am »
Hi Jan,
I am a little bit confused about this.
Does startup.asm/.a51 necessary for any firmware code?
Why some of the firmware uses starup.asm?
The keil site state that it clears internal and external data memory, etc, but why I use startup, Am I can't clear it in my firmware C code?
What benefits I can get in using startup.asm, does it affect the speed, code size,etc?
 
BTW, I use Silabs f340 uC.

 thanks and regards
 gi

Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 3033
    • Lakeview Research
Re: Startup.asm for 8051 uC
« Reply #1 on: June 06, 2011, 02:28:46 pm »
It looks like you got good answers to your question on the Keil forum.

Jan

gi

  • Member
  • ***
  • Posts: 27
Re: Startup.asm for 8051 uC
« Reply #2 on: June 06, 2011, 08:58:45 pm »
Yes I got some reply from Keil, thanks Jan.