Question: a ) How is memory allocated for local and global variables? Local variables should be stored in a stack that is defined as AREA name,

a) How is memory allocated for local and global variables?
Local variables should be stored in a stack that is defined as AREA name, DATA READWRITE.
b) Why do we need all STMDB, LDMIA, STMIA, and LDMDB instructions while STMDB and LDMIA are equivalent to PUSH and POP?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!