Question: X86-64 addressing. For the x86-64 assembly language instructions shown below, write the addressing mode (one of the 11 modes from Figure 3.3 page 181 in

X86-64 addressing. For the x86-64 assembly language instructions shown below, write the addressing mode (one of the 11 modes from Figure 3.3 page 181 in the 3^rd edition of the text) for both the source and the destination operand. Assume that the labels array and x appear in the .data section of the program (that is, they are C static storage class variables). Addressing mode should specify Immediate, Register or Memory. If Memory, addition information from the Name column should be included. Source addressing mode Destination addressing mode movq (%rsi), %orax movq $array, %rcx xorq %rdx, %rdx addq (%rcx, %rax, 8), %rdx movq $0x100, 4(%rcx, %rax, 8) Same as source addressing mode incq x movq $0x100, (%rsi) movq %rcx, array(, %rcx, 4)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
