Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Fill in the missing information in the following program that is the functional equivalent of the following assembly language program. (You will have to evaluate
Fill in the missing information in the following program that is the functional equivalent of the following assembly language program. (You will have to evaluate the results of each instruction and keep a record of current register and memory values as new instructions are executed.) /* Assignment for loop*/ .data alpha: .space 64 @reserves 64 bytes i: into .text .align 2 global main .func main main: Idr r3, Ei mov r2, #0 str r2, [r3] L1: Idr r3, si Idr r2, [r3] cmp r2, #16 bge exit Idr r3, Ei Idr r2, [r3] add r1, r2, #0x200 Idr r3, -alpha str r1,[r3, r2, asl #2] Idr r3, Ei Idr r2, [3] add r2, r2, #1 Idr r3, Ei str r2, [3] bL1 exit: mov r7, #1 swi o int alpha[16]; int i; void main(){ for ){ } } Fill in the missing information in the following program that is the functional equivalent of the following assembly language program. (You will have to evaluate the results of each instruction and keep a record of current register and memory values as new instructions are executed.) /* Assignment for loop*/ .data alpha: .space 64 @reserves 64 bytes i: into .text .align 2 global main .func main main: Idr r3, Ei mov r2, #0 str r2, [r3] L1: Idr r3, si Idr r2, [r3] cmp r2, #16 bge exit Idr r3, Ei Idr r2, [r3] add r1, r2, #0x200 Idr r3, -alpha str r1,[r3, r2, asl #2] Idr r3, Ei Idr r2, [3] add r2, r2, #1 Idr r3, Ei str r2, [3] bL1 exit: mov r7, #1 swi o int alpha[16]; int i; void main(){ for ){ } }
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started