Question: Question 9 Suppose register %rax has the value 0x03, register %rdx has the value 0x05. Which one of the following best answers the question: What

Question 9

Question 9 Suppose register %rax has the value 0x03, register %rdx has

Suppose register %rax has the value 0x03, register %rdx has the value 0x05. Which one of the following best answers the question: What value is stored in register %rcx by the following instruction?

leaq 4(%rax,%rdx), %rcx 

Question 9 options:

4

8

12

none of these

Save

Question 10

the value 0x05. Which one of the following best answers the question:

memory address value Register Value
0X100 0x05 %rax 0x100
0x108 0x0A %rbx 0x8
0x110 0x01 %rcx 0x2
0x118 0x02 %rdx

Assume values are stored in the indicated registers and memory locations as shown.

What value would be stored in %rcx after the instruction below?

movq 8(%rax,%rbx), %rcx

Question 10 options:

0x100

0x108

0x0A

0x55

none of these

What value is stored in register %rcx by the following instruction? leaqView hint for Question 10

Save

Question 11

4(%rax,%rdx), %rcx Question 9 options: 4 8 12 none of these Save

memory address value Register Value
0X100 0x05 %rax 0x100
0x108 0x0A %rbx 0x8
0x110 0x01 %rcx 0x2
0x118 0x02 %rdx

Assume values are stored in the indicated registers and memory locations as shown.

What value would be stored in %rcx after the instruction below?

movq $0x3, %rcx

Question 11 options:

0x00

0x02

0x03

0x08

none of these

Save

Question 12

Question 10 memory address value Register Value 0X100 0x05 %rax 0x100 0x108

memory address value Register Value
0X100 0x05 %rax 0x100
0x108 0x0A %rbx 0x8
0x110 0x01 %rcx 0x2
0x118 0x02 %rdx

Assume values are stored in the indicated registers and memory locations as shown.

What value would be stored in %rcx after the instruction below?

salq $2,%rcx

Question 12 options:

0x0

0x02

0x04

0x08

none of these

Save

Question 13

0x0A %rbx 0x8 0x110 0x01 %rcx 0x2 0x118 0x02 %rdx Assume values

memory address value Register Value
0X100 0x05 %rax 0x100
0x108 0x0A %rbx 0x8
0x110 0x01 %rcx 0x2
0x118 0x02 %rdx

Assume values are stored in the indicated registers and memory locations as shown.

What value would be stored in %rcx after the instruction below?

movq 8(%rax), %rcx

Question 13 options:

0x100

0x108

0x0A

0x55

none of these

Save

Question 14

are stored in the indicated registers and memory locations as shown. What

memory address value Register Value
0X100 0x05 %rax 0x100
0x108 0x0A %rbx 0x8
0x110 0x01 %rcx 0x2
0x118 0x02 %rdx

Assume values are stored in the indicated registers and memory locations as shown.

What value would be stored in %rcx after the instruction below?

xorq %rcx,%rcx

Question 14 options:

0x00

0x01

0x02

0x55

none of these

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!