sovle part b

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

sovle part b

(a) Show using the tables below how the value Oxabcdef12 would be arranged in memory of a little-
endian and a big-endian machine. Assume the data are stored starting at address 4 and that the word
size is 4 bytes.
Big endian
address data
0
4
8
12
16
Address
0x0000000F
0x00000010
0x00000011
0x00000012
0x00000013
0x00000014
0x00000015
0x00000016
0x00000017
0x00000018
0x00000019
0x0000001
A
(b) Show on the following memory the result of the following instruction
STUR X2, [X0, 8]
0x0000001
0x0000001
where X0 = 0x00000010, X2 has the value of 0x000008FF1A2B3D4D. Assume that this is a big-
endian machine.
B
с
0x0000001
D
little endian
0x0000001E
0x0000001F
0x00000020
0x00000021
0x00000022
address
0
(c) Based on the above memory
result of the LEGv8 instruction
machine is in little-endian byte
0x0000001C. (i.e., what is the value of XI).
4
8
12
16
Contents
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
OxAA
data
0xBB
0x1C
0x2F
0x55
0x44
0xFB
after question (a), what is the
"LDUR XI, [X3, -8]" if the
orders, where X3 =
Transcribed Image Text:(a) Show using the tables below how the value Oxabcdef12 would be arranged in memory of a little- endian and a big-endian machine. Assume the data are stored starting at address 4 and that the word size is 4 bytes. Big endian address data 0 4 8 12 16 Address 0x0000000F 0x00000010 0x00000011 0x00000012 0x00000013 0x00000014 0x00000015 0x00000016 0x00000017 0x00000018 0x00000019 0x0000001 A (b) Show on the following memory the result of the following instruction STUR X2, [X0, 8] 0x0000001 0x0000001 where X0 = 0x00000010, X2 has the value of 0x000008FF1A2B3D4D. Assume that this is a big- endian machine. B с 0x0000001 D little endian 0x0000001E 0x0000001F 0x00000020 0x00000021 0x00000022 address 0 (c) Based on the above memory result of the LEGv8 instruction machine is in little-endian byte 0x0000001C. (i.e., what is the value of XI). 4 8 12 16 Contents 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 OxAA data 0xBB 0x1C 0x2F 0x55 0x44 0xFB after question (a), what is the "LDUR XI, [X3, -8]" if the orders, where X3 =
Expert Solution
Step 1 Introduction

The STUR instruction in big endian mode means that the address of the most significant byte will be the same as the doubleword address. This instruction is used to store the contents of a register to a memory location. The register is stored in the order of most significant byte to least significant byte.

trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Binary numbers
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education