What are the start-up code steps?
Answer:
Start-up code for C programs usually consists of the following actions, performed in the order described:
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
Answer:
Start-up code for C programs usually consists of the following actions, performed in the order described:
- Disable all interrupts.
- Copy any initialized data from ROM to RAM.
- Zero the uninitialized data area.
- Allocate space for and initialize the stack.
- Initialize the processor’s stack pointer.
- Create and initialize the heap.
- Enable interrupts.
- Call main.
need an explanation for this answer? contact us directly to get an explanation for this answer