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 18:10
Afluid flows with a velocity field given by v=(x/t)i.. determine the local and convective accelerations when x=3 and t=1.
Answers: 2
question
Engineering, 04.07.2019 18:10
Draw the engineering stress-strain curve for (a) bcc; (b) fcc metals and mark important points.
Answers: 1
question
Engineering, 04.07.2019 18:10
Which one from below is not one of the reasons of planning failures? (clo3) a)-planner is careless. b-planner spend less time in the field but more time on the desk c)-planner is not qualified d)-planner does not have sufficient time to properly plan
Answers: 3
question
Engineering, 04.07.2019 18:20
Aquick transition of the operating speed of a shaft from its critical speed will whirl amplitude. (a) increase (b) limit (c) not affect (d) zero
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, 05.05.2020 00:14
question
Mathematics, 05.05.2020 00:14
Questions on the website: 13722363