Ececute ARM64 code segments and get their results. Pollow the instruetions befow CONSECUTIVELY, and after each mstruction write the value destination register in decimal into the space provided. ORR X0, X31, 4 XO- ADD XI, X0, X31 XI LSL X2, XI,4 IX2 SUB X3, X2, XI X3 = AND X4, X3, 12 X4 For the following ARM64 assembly code, assume that registers x0 and x6 contain the values nd Oxef70 (an address), respectively. Also, assume that memory contains the values shown in G fahle helow, After execution of these instructions, which memory address's content is

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
Ececute ARM64 code segments and get their resufts.
1) Follow the instructions befow CONSECUTIVELY, and after each instruction write the value
of destination register in decimal into the space provided.
ORR X0, X31, #4 XO%D
ADD XI, X0, X31 XI =
LSL X2, XI,4
SUB X3, X2, XI X3 =
AND X4, X3, 12
/X2=
X4
2) For the following ARM64 assembly code, assume that registers x0 and x6 contain the values 4
and Oxef70 (an address), respectively. Also, assume that memory contains the values shown in
the table below. After execution of these instructions, which memory address's content is
changed and what is the value in w2?
Contents
Adress
Oxef68
Oxef6c
Oxef70
Oxef74
Oxef78
Oxef7c
10
15
25
35
45
Idr w1, [x6, x0]
sub w1, w1, #3
str w1, [x6, #8]
Idr w2, (x6, #8] / w2 D
Transcribed Image Text:Ececute ARM64 code segments and get their resufts. 1) Follow the instructions befow CONSECUTIVELY, and after each instruction write the value of destination register in decimal into the space provided. ORR X0, X31, #4 XO%D ADD XI, X0, X31 XI = LSL X2, XI,4 SUB X3, X2, XI X3 = AND X4, X3, 12 /X2= X4 2) For the following ARM64 assembly code, assume that registers x0 and x6 contain the values 4 and Oxef70 (an address), respectively. Also, assume that memory contains the values shown in the table below. After execution of these instructions, which memory address's content is changed and what is the value in w2? Contents Adress Oxef68 Oxef6c Oxef70 Oxef74 Oxef78 Oxef7c 10 15 25 35 45 Idr w1, [x6, x0] sub w1, w1, #3 str w1, [x6, #8] Idr w2, (x6, #8] / w2 D
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY