Read the instructions carefully to allow you to fill in the table correctly. Register values: Register 64-bit
Fantastic news! We've Found the answer you've been seeking!
Question:
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)
Posted Date: