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, 04.07.2019 16:10
The force on a cutting tool are 2600n vertically downward and 2100 horizontal. determine the resultant force acting on the tool and the angle at which it acts.
Answers: 1
question
Engineering, 04.07.2019 18:10
Adouble-strand no. 60 roller chain is used to transmit power between a 13-tooth driving sprocket rotating at 300 rev/min and a 52-tooth driven sprocket. a) what is the allowable horsepower of this drive? b) estimate the center-to-center distance if the chain length is 82 pitches. c) estimate the torque and bending force on the driving shaft by the chain if the actual horsepower transmitted is 30 percent less than the corrected (allowable) power.
Answers: 3
question
Engineering, 04.07.2019 18:20
Modern high speed trains do not have perpendicular expansion gaps where rails are joined end-to-end any more they are mostly welded together but what might happen if there was a spell of particularly hot weather that causes inspection of the tracks?
Answers: 1
question
Engineering, 04.07.2019 18:20
For each of the following process: a) sketch the p-v diagram, b)sketch t-s diagram, c) sketch t-v diagram, d) sketch the boundary work on one of the diagrams (a, b or c) and e) sketch the reversible heat transfer on one of the diagrams (a, b or c): 1- isobaric process from compressed liquid to superheated vapor 2- isothermal process from compressed liquid to superheated vapor 3- isentropic process from compressed liquid to superheated vapor
Answers: 3
You know the right answer?
Convert the following ARM assembly program (everything) into X86 program and then describe the diffe...
Questions
question
Mathematics, 05.05.2020 03:44
question
History, 05.05.2020 03:44
question
Chemistry, 05.05.2020 03:44
question
Mathematics, 05.05.2020 03:44
Questions on the website: 13722363