Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem B Consider the following initial values for the registers and memory. Values are reset back to the values shown in the table before each

image text in transcribed

Problem B Consider the following initial values for the registers and memory. Values are reset back to the values shown in the table before each operation. Determine the result of the following operations and state where the result is stored. * Destination should be formatted after doing all address calculations in order * Result should match the size specified by the destination Value Address Ox08 Ox56 Register | Value %rax OXF4E3B2A1 %rbx OxFACE %r8 OxBO %r9OxOA %r10 OX36 Ox88 OxC1 OXD2 OxC3 Ox00 Ox32 Ox57 Ox80 0x81 OxB8 Destination Result Instruction movw $12(%r10,%r9,2),% eax movb $10(%r9,%r 10,2),%bl incl %eax subw $-2%r9),%bx decb $8(%r8) imulw $8,-Ox30(%r8) sarb $5, %bl shrw $1,$60,%r9,8) andl %ebx,%eax negq %r8 Problem B Consider the following initial values for the registers and memory. Values are reset back to the values shown in the table before each operation. Determine the result of the following operations and state where the result is stored. * Destination should be formatted after doing all address calculations in order * Result should match the size specified by the destination Value Address Ox08 Ox56 Register | Value %rax OXF4E3B2A1 %rbx OxFACE %r8 OxBO %r9OxOA %r10 OX36 Ox88 OxC1 OXD2 OxC3 Ox00 Ox32 Ox57 Ox80 0x81 OxB8 Destination Result Instruction movw $12(%r10,%r9,2),% eax movb $10(%r9,%r 10,2),%bl incl %eax subw $-2%r9),%bx decb $8(%r8) imulw $8,-Ox30(%r8) sarb $5, %bl shrw $1,$60,%r9,8) andl %ebx,%eax negq %r8

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems For Advanced Applications 9th International Conference Dasfaa 2004 Jeju Island Korea March 2004 Proceedings Lncs 2973

Authors: YoonJoon Lee ,Jianzhong Li ,Kyu-Young Whang

2004th Edition

3540210474, 978-3540210474

More Books

Students also viewed these Databases questions

Question

an element of formality in the workplace between different levels;

Answered: 1 week ago