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

25.00 $

Programming resource
Digital learning resource
Category:
✓ Practical programming resource
✓ Suitable for guided study and reference
✓ Tutor guidance available when needed

Description

5/5 - (1 vote)

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

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.