Closed

assembly code

1. The C code for sort() in the textbook is wrong. A correct version is as follows:

for(int i = 1; i < n; i++) {

for(int j = 0; j < n - i; j++) {

if (v[j] > v[j+1])

swap(v, j);

Revise the assembly code for sort(), and insert your assembly code for sort() and swap() into the given program lab1.asm.

You need to use SPIM to debug and run the program. Note that swap() and sort() should be two separate functions in the assembly code program. You are strongly suggested to re-use the code in Fig 2.25 and Fig. 2.27 as much as possible and change them only when it is indeed necessary, such as for correcting the error in sort().

2. If your code does not run or produces result very different from correct one, your score would be substantially reduced. As an alternative, you can do a simplified version of the program, in which you only need to move the largest number in the array to the last position of the array. Note that in the result array, no element should be lost.

Note that if you take this option you must explicitly place this statement at the beginning of the program “# THIS IS A SIMPLIFIED VERSION” and the highest score you may receive is 85 (out of 100 points). Without this statement, your code will be graded as a regular version.

3. Submit your source code ([login to view URL]) via the blackboard by the due time.

4. Start your work as early as possible.

Skills: Assembly, C Programming, C++ Programming, Software Architecture, x86/x64 Assembler

See more: assembly language instructions, types of assembly language, assembly language commands, assembly language course, assembly language pdf, assembler, assembly language tutorial, assembly code intro, pwm pic assembly code, card assembly code, pic assembly code number generator, assembly code pwm, assembly code 8086 using 8051, assembly code adding floating point numbers, generate assembly code polynomial, pic18f2455 example assembly code, decoding encoding files assembly code, 8085 assembly code, atmega16 adc converter assembly code example, pic assembly code examples

About the Employer:
( 1 review ) Arlington, United States

Project ID: #17895066

14 freelancers are bidding on average $32 for this job

raulbehl

Hello! Please check my profile and reviews to know a bit about me and my work. It would be great if I could help you out

$30 USD in 1 day
(75 Reviews)
5.8
kipdev13

Hello. I am a expert of c++ and have rich experience of reversing. If you choose me , i will give you perfect result. I wish your reply. Thanks.

$30 USD in 1 day
(38 Reviews)
5.2
loi09dt1

I have done hundreds of projects related to MIPS assembly on this site. Please contact me so that we can discuss more the project. Thanks.

$30 USD in 1 day
(37 Reviews)
5.3
mastor31

Hi, I am an professional coder in assembly language. I have completed multiple project in mips assembly language in MARS IDE and SPIM. The projects i did have use of array, stack, fifo implementation. Please award me More

$66 USD in 2 days
(22 Reviews)
4.8
thebartowski

Hello long time C, C++ and ASM programmer, just drop me a message and we can talk. Have a good day. T.D

$20 USD in 1 day
(3 Reviews)
4.0
trutony

Hi, I am a talented C & Assembly coder. If you give me this project, you will get a good result. Thanks. C & C++ Programming, Algorithm, Data processing Relevant skills & experiences: Assembly, C Programming, C++ Pr More

$50 USD in 1 day
(2 Reviews)
2.8
RiccardoSottini

Contact me if you're interested :) I'm a new user on this platform, but i'm experienced in C and C++ programming and Assembly. I program in C and C++ since 3 years ago and i use Qt FrameWork since 2 years ago. I More

$25 USD in 1 day
(2 Reviews)
2.1
mkduga

I have enough experience in MIPS assembly language programming to help you with this project. I have done several similar projects in MIPS. If you'd like more information about anything please let me know and I"ll b More

$60 USD in 1 day
(1 Review)
2.2
nourreddinebenme

hello sir i'm good in assembly x86/x64 under both windows and linux i need to know what you want to use masm tasm nasm fasm under linux or windows i'm good also in arm assemby when i complete your projec More

$30 USD in 1 day
(1 Review)
1.6
woodsjamessh

I know assembly x86 and c++ well. All the different assembly are practically the same- shouldn't be a problem.

$15 USD in 2 days
(0 Reviews)
0.0
gladc

Hello, I had hands-om experience in assembly languages such as NASM. What language are you using? Kindly contact me.

$25 USD in 1 day
(0 Reviews)
0.0
chas5

Hello I'm a new freelancer currently studying on electrical and electronics engineering. This is the first project I'm bidding and i would like to help you as far as possible.

$20 USD in 2 days
(0 Reviews)
0.0
Attias93

It looks like a standard assambly course homework. I can finish it for you within a few hours.

$25 USD in 1 day
(0 Reviews)
0.0
swinford

I am new freelancer, looking forward to accomplishing and learning more about the project you presented in the description.

$20 USD in 1 day
(0 Reviews)
0.0