Question: We will now set some values in memory dynamically before each run. On each run the values will change. This means you will need to
We will now set some values in memory dynamically before each run. On each run
the values will change. This means you will need to do some type of formulaic
operation with registers. We will tell you which registers are set beforehand
and where you should put the result. In most cases, its rax.
In this level you will be working with memory. This will require you to read or write
to things stored linearly in memory. If you are confused, go look at the linear
addressing module in 'ike. You may also be asked to dereference things, possibly multiple
times, to things we dynamically put in memory for your use.
Please perform the following:
Place the value stored at x into rax
Increment the value stored at the address x by x
Make sure the value in rax is the original value stored at x and make sure
that x now has the incremented value.
We will now set the following in preparation for your code:
xxa
Please give me your assembly in bytes up to x bytes:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
