Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Read the instructions carefully to allow you to fill in the table correctly. Register values: Register 64-bit Contents %rax 0x100 %rsi 0x1 %rdi 0x4 Relevant
Read the instructions carefully to allow you to fill in the table correctly.
Register values:
Register 64-bit Contents %rax 0x100 %rsi 0x1 %rdi 0x4 Relevant area of Memory
Address 32-bit contents 0x100 0x70 0x108 0x80 0x110 0x42 0x118 0xcc 0x120 0x100 Values are decimal unless preceded by 0x. The movq instruction moves 64 bits of data from the given source to the given destination. For each instruction below, indicate what is updated (if register, give name including %. If memory, give as M[address], where address is in hex - M[0x2] is an example) and ,what the new value is. Treat each instruction independently - this is not a sequence of instructions.
Instruction What changed? New Value movq $0x1cc, %rax movq $0x1cc, (%rax) movq $0x99, 8(%rax) movq %rdi, (%rax,%rdi,2) movq 16(%rax), %rdi movq (%rax,%rsi,8), %rax movq 16(%rax,%rdi,2), %rsi movq %rdi, 16(%rax,%rax,2)
Step by Step Solution
★★★★★
3.31 Rating (163 Votes )
There are 3 Steps involved in it
Step: 1
Solution Answer by using the given data sduing this we are Poroblem By fermula usin...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started