Answered step by step
Verified Expert Solution
Question
1 Approved Answer
4. X86-64 addressing. For the x86-64 assembly language instructions shown below, write the addressing mode from Figure 3.3 page 181 in the 3rd edition of
4. X86-64 addressing. For the x86-64 assembly language instructions shown below, write the addressing mode from Figure 3.3 page 181 in the 3rd edition of the tex) 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 mov orax movq $array, orcX. xorq %rdx, %rdx add (%rcx,%rax,8), %rdx movq $0x100, 40%rcx,%rax,8) Same as source addressing mode incq x movq $0x100, (%rsi) movq %rcx, array(,%rcx, 4) 4. X86-64 addressing. For the x86-64 assembly language instructions shown below, write the addressing mode from Figure 3.3 page 181 in the 3rd edition of the tex) 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 mov orax movq $array, orcX. xorq %rdx, %rdx add (%rcx,%rax,8), %rdx movq $0x100, 40%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
Step: 1
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