COMMENT AND FORMAT EVERYTHING APPROPRIATELY !
# FIRST QUESTION:
1- Create a program that generates 10 values in the range from +500 to -2500 and store these in an array of type WORD. Using these values, the program will: a) print the 10 values in two rows of 5 as comma separated integers; b) report the overall average; c) average of the positive numbers; and d) average of the negative numbers.
The output should look something like this:
For this program, the following requirements must be adhered to:
a) Each of the features (generate random values, populate array, print array, calc and print averages) must have a separate function.
b) All values will be integers including the averages.
c) All procedures must preserve register values whenever possible.
d) Any procedure returning an answer must do so in the EAX register.
e) No procedure can directly reference the array. Only use indirect operands with the offset and
size of the array being passed as a parameter on the stack (named or unnamed).
f) Fully comment the code including header comments, comments at the start of each procedure,
and line codes neatly in a right column. (Penalty up to 50% for not doing this.)
g) Your procedures must only use of parameter passing using unnamed parameter values (refer
to these using only the EBP register).
The output should look something like this:
+435, -1232, +123, -1487, -2319,
-485, +69, +198, -894, -2198
The overall average is: -779
The average of the positive numbers is: +206 The average of the negative numbers is: -1435
----------------------
# SECOND QUESTION:
Create a program that asks the user to enter a value and stores it in a SDWORD. Then, ask the user for a second integer in the range of 1 to 31 to be used for shifting and rotating. If the value is out of range, report the error and ask again. Store this value as a BTYE. Report the result of adjusting the original value by the adjust value (as a binary number) for each of the following: a) logical shift to the left; b) arithmetic shift to the right; c) rotate to the left (no carry); and d) a rotate to the right with carry where the carry is initially clear (Use CLC to clear the carry).
The output should look something like this:
Please enter a value to adjust: -200
Please enter the adjustment value in the range of 1-31: 32 Value out of range.
Please enter the adjustment value in the range of 1-31: 10
SHL: 1111 1111 1111 1100 1110 0000 0000 0000
SAR: 1111 1111 1111 1111 1111 1111 1111 1111
ROL: 1111 1111 1111 1100 1110 0011 1111 1111
RCR: 1001 1100 0011 1111 1111 1111 1111 1111
I have 6 years experience in system programming. I'm also quite familiar with the x86 assembly language. Please let me help you in this very simple project. Thank you very much!
Hi! I recently worked on some assignments from Irvine's book assembly language for x86 processor you can see that on my profile. If you really want to save time and get your job really done. I can do it for you I have all the tools ready and I can provide you this assignment in less that 2,3 hours once you award this project to me. price is negotiable please come to chat.
I am experienced at cryptography. So I am familiar at asm operations such as RSA calculations (usually 2^1024). I also developed bootkit with assembly language to decrypt TrueCrypt. If you want, I can mail you my sample bootkit projects. Please trust me. It's my first freelancer project.
Dear sir,
I've read your requirements twice.
As an embedded programmer with 10 year of experience in Assembly, I could be a good fit.
I can complete your work within 24 hours from now with 100% accuracy.
Could you please tell me the Assembly's framework/IDE used in your course (since Assembly's frameworks has some different).
Kind regards,
Francis T.
I am a 15 years experienced C/C++, Java and Assembly developer. I have knowledge on different libraries on C/C++ and Java. I have written 2 homeworks of a student on x86 Assembly 2 weeks before.
Hello sir. I can do this assignment for you. I have already done lot of assignments using Visual Studio and Irvine32 library. This can be done within 3-4 hours when you submit me job....
Please, consider my proposal. If you are interested, we can discuss more...
Regards
vladang