[SOLVED] CASPL182 Assignment 0- assembly language and the linking process

29.99 $

Category: Tags: , , , , , , , ,
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon Arch-Ass-0-acidgu.zip (61.7 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
πŸ”’ Securely Powered by:
Secure Checkout
5/5 - (2 votes)

Submissions which deviate from the instructions will not be graded!
Please make your output exactly as in the examples below.
Otherwise automatic scripts would fail on your assignment and you will lose some credit for this.
Assignment Description

We provide you with a simple program written in C that receives a string from a user. Then, this program calls a function written in assembly language (which you need to implement) that receives a (pointer to) a null terminated character string as an argument. Your code should operate on the string as follows:
Convert lower case to upper case.
Convert β€˜(’ into β€˜<’. Convert β€˜)’ into β€˜>’.
Count the number of the non-letter characters, that is ANY character that is not ‘a’->’z’ or ‘A’->’Z’, including newline character (Note: characters that are not letters,’(β€˜ or β€˜)’ will remain as they are)
The function returns the counter.
The characters conversion should be in-place.
Example:
> myexe.out
42: heLL() WorLd!
42: HELL<> WORLD!
9
What We Provide

Submission Instructions

You are to submit a single zip file, ID1_ID2.zip , includes asm.s file only.
Do not add new directory structure to the zip file!
Make sure you follow the coding and submission instructions correctly (print exactly as requested). Submission System Good Luck!
https://www.cs.bgu.ac.il/~caspl182/Assignments/Assignment_0?format=standalone 1/1

  • Arch-Ass-0-acidgu.zip