Need Home work help in my Computer Architecture class. The Homework was already due but I can turn it in late. So I need this done before Monday, afternoon. There is three assignments that are all similar. I even put up an example of what the first assignment should look like. I'm willing to pay up to $15 per assignment for a total of $45 dollars. Will add a bonus amount for really high grades. Everything is included in the attachment.
Here is the first assignment:
1.0 Using our Y86 assembly language,
1.1 Write the assembly language lines that would perform the C++ line of code: x += -55. Include the lines of code to read x from memory, perform the operations needed, and write it back out to memory. Assume the base address for x is currently stored in the register %edi. Use the register %eax for the value of x, and use %ecx for any constants you need to use. Assume all memory is 32-bit, little endian.
1.2 Convert these lines of assembly code into machine code using the correct op-codes for the instructions, the correct codes for the registers, and expand any constants out to 32-bit HEX. Be very clear what each field is in the machine code instruction.
2.0 For each of these instructions fill in the flow chart showing what the machine is doing at each stage of the operations. Be sure to clearly label on the right hand side what you are doing at each stage.
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):
a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.
b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
see attached for full assignment and lectures for reference
This has to be done in Y86 assembly language.