Question: Using x86 Assembly... Create a BYTE array with the label input. This array may be of any length between 2 and 100. Create a BYTE
Using x86 Assembly...
Create a BYTE array with the label input. This array may be of any length between 2 and 100.
Create a BYTE array with the label output. This array should be the same length as input.
Create a DWORD variable with the label shift. shift should hold a single value. The value of shift must be less than the length of input.
The program should then read each of the values from the array input and place the values into the output array but the location should be shifted by the amount in the shift variable. If the shift would cause a value to be outside of the bounds of output, then the values should wrap around to the front of output.
For example:
My input array is 5,0A,3,6,0C
shift is 3
The proper solution for output is 3,6,0C,5,0A
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
