Question: Write the following code example of using stack try to understand it , ensure to include the missing two lines of code submit screen shot

Write the following code example of using stack try to understand it, ensure to include the missing two lines of code submit screen shot of working code and submit example.s file
An Example of Using Stack
```
.data
EQU stack_loc, 0x20001000// Initial Main Stack Pointer Value
function1:
//write your code //// Save values in the stack of R2, and link register onto the stack
MOV R5, #8// Set initial value for the delay loop
delay:
SUBS R5, R5, #1
BNE delay
//write your code // pop out the saved value from the stack,
//-------------------- user main program
.global _start
_start:
LDR SP,=stack_loc
MOV R0, #0x75
MOV R3, #5
PUSH {R0, R3}// Notice the stack address is 0x200000FF8
MOV R0, #6
MOV R3, #7
//write your code // Should be able to see R0= #0x75 and R3= #5 after pop
Loop:
ADD R0, R0,#1
CMP R0, #0x80
BNE Loop
MOV R5, #9// prepare for function call
BL function1
MOV R3,#12
_stop:
B
_stop
.end
```
Write the following code example of using stack

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!