Machine-translated by Google. Questions are authored in English.
Top

Discussion

The stack of a microcontroller normally lives in

  • A.the register file of the processor
  • B.a dedicated hardware stack of fixed depth in every device
  • C.RAM, growing toward the other allocations
  • D.flash, alongside the program code

Answer: C

Being written constantly it must be in read-write memory, and it conventionally grows down from the top of RAM toward the heap and static data. Some very small devices do have a fixed hardware call stack, which limits nesting depth absolutely.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.