subject
Engineering, 03.03.2020 21:58 gonzaloc

Convert the following ARM assembly program (everything) into X86 program and then describe the differences between data movement instructions. @ This is my program .section .data a: .word 2 @ 32-bit variable a in memory b: .word 5 @ 32-bit variable b in memory c: .word 0 @ 32-bit variable c in memory .section .text .globl _start _start: ldr r1, =a @ load the memory address of a into r1 ldr r1, [r1] @ load the value a into r1 ldr r2, =b @ load the memory address of b into r2 ldr r2, [r2] @ load the value b into r2 add r1, r1, r2 @ add r1 to r2 and store into r1 ldr r2, =c @ load the memory address of c into r2 str r1, [r2] @ store r1 into memory c mov r7, #1 @ Program Termination: exit syscall svc #0 @ Program Termination: wake kernel .end

ansver
Answers: 2

Another question on Engineering

question
Engineering, 03.07.2019 15:10
Heat is added to a piston-cylinder device filled with 2 kg of air to raise its temperature 400 c from an initial temperature of t1 27 cand pressure of pi 1 mpa. the process is isobaric process. find a)-the final pressure p2 b)-the heat transfer to the air.
Answers: 1
question
Engineering, 03.07.2019 15:10
Ahouse has the following electrical appliance usage (1) single 40w lamp used for 4 hours per day (2) single 60w fan used for 12 hours per day (3) single 200w refrigerator that runs 24 hours per day with compressor run 12 hours and off 12 hours find the solar power inverter size in watt with correction factor of 1.25.
Answers: 1
question
Engineering, 04.07.2019 16:10
An electrical motor raises a 50kg load at a construct velencity .calculate the power of the motor, if it takes 40sec to raise the load through a height of 24m(take g =9.8n/g)
Answers: 2
question
Engineering, 04.07.2019 18:20
Avolume of 2.65 m3 of air in a rigid, insulated container fitted with a paddle wheel is initially at 264 k, 5.6 bar. the air receives 432 kj by work from the paddle wheel. assuming the ideal gas model with cv = 0.71 kj/kg • k, determine for the air the amount of entropy produced, in kj/k
Answers: 2
You know the right answer?
Convert the following ARM assembly program (everything) into X86 program and then describe the diffe...
Questions
question
Mathematics, 02.10.2021 20:50
question
Mathematics, 02.10.2021 20:50
question
Mathematics, 02.10.2021 21:00
question
Biology, 02.10.2021 21:00
Questions on the website: 13722363