Question 1 (From Chapter 4)
Write an Assembly program that will use a loop with indexed addressing to exchange every pair
of even number of values in an array of size 10 and array will consist ofinteger values. That is,
element i will exchange with element i+1 and element i+2 will exchange with element i+3 and so
on.
So if array has 10 22 30 43 45 34 89 67 33 66 then after exchange, array will be:
22 10 43 30 34 45 67 89 66 33
Make sure you have the following at the top of your Assembly code file. Fill it up accordingly
such as the name of the asm file will be Assignment04.asm
; Program Template (Assignment01.asm)
; Program Description: <fill this up>
; Author: <fill this up>
; Creation Date: <fill this up>
; Revisions: <fill this up if necessary>
; Date:Modified : <fill this up if necessary>
Also make sure to document your Assembly code.
What to submit?
TWO files.
1. Copy your program and paste it to a text editor such as Notepad and save file as .txt file
then submit this text file.
2. A pdf file that has your code (copied or screenshot) and output of dumping of your
registers.
Select your paper details and see how much our professional writing services will cost.
Our custom human-written papers from top essay writers are always free from plagiarism.
Your data and payment info stay secured every time you get our help from an essay writer.
Your money is safe with us. If your plans change, you can get it sent back to your card.
We offer more than just hand-crafted papers customized for you. Here are more of our greatest perks.
Get instant answers to the questions that students ask most often.
See full FAQ