Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Data Movement and Addressing Modes REGISTERS %rax = 0x0000 0000 0000 43B0 %rbx = OxFFFF CCCC AAAA 5555 %rcx = 0x0000 0000 0000 43A4 %rdx

image text in transcribed
image text in transcribed
Data Movement and Addressing Modes REGISTERS %rax = 0x0000 0000 0000 43B0 %rbx = OxFFFF CCCC AAAA 5555 %rcx = 0x0000 0000 0000 43A4 %rdx = 0x0000 0000 2222 B198 %rdi = 0x0000 0000 0000 0006 MEMORY VALUE ADDRESS BOAD F305 @ M[0x43B4] A188 F692 @ M[0x43B0] 9DE8 1328 @ M[0x43AC] C018 629C @ M[0x43A8] 840E FEE1 @ M[0x43A4) I 014 DEED @ M[0x43A0] 490A 18A3 @ M[0x439C] VALUE ADDRESS BAD F305 @ M@x43B4) A188 F692 @M[0x43B01 9DEB 1328 @ M[@x43ACI C018 629C @ M@x43A8] 840E FEEL @ M@x43A4] 7014 DEED @ M[0x43A01 490A 18A3 @ M[0x4390) Given the values above for registers/memory, show the value of Srbx (64 bits, in hexadecimal) after each instruction. Treat instructions INDIVIDUALLY and not as a sequence (i.e., reset back to the initial values for each question), [2 points] After movsbl (Arax). Sebx the value of Srbx is ??? [2 points] After movzwl 6(8rcx, trdi, 2), sebx the value of Nrbx is ??? [2 points) After movb -11(Srax), tbl the value of rbx is 277 [2 points) After movw @x43a2, mbx the value of Srbx is ??? [2 points) After movw $0x43a8, tbx the value of Srbx is 772 [2 points] After movl 12 (rex), Rebx the value of rbx is ??? (2 points) After mova -10(rex, erdi), Srbx the value of Srbx is ??? [2 points) After leaq @x130(rax, nrdx), rbx the value of rbx is ??? You are Translation of assembly to/from C [20 points) Fill in the blanks of the C source file and x86-64 assembly. f: 1 int fl *xs, unsigned , int y) { y[2] - 3

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

Oracle Database 10g Insider Solutions

Authors: Arun R. Kumar, John Kanagaraj, Richard Stroupe

1st Edition

0672327910, 978-0672327919

More Books

Students also viewed these Databases questions

Question

Who coined the phrase big data ?

Answered: 1 week ago

Question

What are Mergers ?

Answered: 1 week ago