Consider the x86 push command. Implement this command using more basic opcodes (
ID: 3741438 • Letter: C
Question
Consider the x86 push command. Implement this command using more basic opcodes (i.e., implement this command using opcodes other than push). For the sake of this question, we are pushing the variable “[var]”, which is a 8-byte variable (a C++ long or double, for example).
11. [3 points] Consider the x86 push command. Implement this command using more basic opcodes (i.e., implement this command using opcodes other than push). For the sake of thi:s question, we are pushing the variable " [var] ", which is a 8-byte variable (a C++1 ong or double, for example).Explanation / Answer
Answer:
Consider the x86 push command. Implement this command using more basic opcodes (i.e., implement this command using opcodes other than push). For the sake of this question, we are pushing the variable “[var]”, which is a 8-byte variable (a C++ long or double, for example).
mov r10, [var]
mov [rsp], r10
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.