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

Other questions on the subject: Engineering

image
Engineering, 04.07.2019 18:10, ahmedeldyame
Aloaded platform of total mass 500 kg is supported by a dashpot and by a set of springs of effective stiffness 72 kn/m. it is observed that when the platform is depressed through a distance x = 12.5 cm below its equilibrium position and then released without any initial velocity; it reaches its equilibrium position in the shortest possible time without overshoot. find the position and velocity of the loaded platform 0.10 sec. after its release. if a further load of 400 kg is added to the platform, find, i) the frequency of damped vibrations, and i) the amplitude of vibration after 2 complete oscillations, given that the initial amplitude is 15 cm.
Answers: 1
image
Engineering, 04.07.2019 18:10, meganwintergirl
Afour cylinder four-stroke in-line engine has a stroke of 160mm, connecting rod length of 150mm, a reciprocating mass of 3kg and its firing order is 1-3-4-2. the spacing between cylinders is 100mm. i. show that the engine is in balance with regard to the primary inertia forces and primary 3. a and secondary inertia couples. li determine the out of balance secondary inertia force ii. propose ways of balancing this out of balance force and discuss the challenges that will arise
Answers: 3
image
Engineering, 04.07.2019 18:20, moneywaydaedae
Air is compressed isentropically from an initial state of 300 k and 101 kpa to a final temperature of 1000 k. determine the final pressure using the following approaches: (a) approximate analysis (using properties at the average temperature) (b) exact analysis
Answers: 1
image
Engineering, 04.07.2019 18:20, RiverH246
Air flows over a heated plate àt a velocity of 50m/s. the local skin factor coefficient at a point on a plate is 0.004. estimate the local heat transfer coefficient at this point. the following property data for air are given: density = 0.88kg/m3 , viscosity 2.286 x 10 ^-5 kgm/s , k = 0.035w/mk ,cp = 1.001kj/kgk. use colburn reynolds analogy.
Answers: 1
You know the right answer?
Convert the following ARM assembly program (everything) into X86 program and then describe the diffe...

Questions in other subjects: