Project 01: Assembly

$40.00 $34.00

Task 1 Try the “hello world” example we learned in class, but instead print out your name, student ID and section number. Deliverables: Successfully implement the program which can generate the correct outputs. (4 points) In your report, include your source code, comment/explain each line of the code, and explain how to assemble, link and…

5/5 – (2 votes)

You’ll get a: zip file solution

 

Description

5/5 – (2 votes)

Task 1

Try the “hello world” example we learned in class, but instead print out your name, student ID and section number.

Deliverables:

  1. Successfully implement the program which can generate the correct outputs. (4 points)

  1. In your report, include your source code, comment/explain each line of the code, and explain how to assemble, link and run the code. (2 points)

  1. In the zip file, include your source code file, comment each line of the code. (2 points)

  1. In your report, include a screenshot of the program outcome. (2 points)

1 | P a g e

Task 2

Note that in the “hello world” program, one has to explicitly specify the length of the string for it to be properly printed out. In this task, you are expected to create a function called strlen to count the length of the string. Then you call that function from the main program to get the string length so that there is no need to explicitly specify the length of the string.

With the new version, to print out a different message, only the string needs to be modified, nothing else to update anywhere in the program.

Deliverables:

  1. Successfully implement the program which can generate the correct outputs. (3 points)

  1. Follow proper function calling conventions. (4 points)

  1. In your report, include your source code, comment/explain each line of the code, and explain how to assemble, link and run the code. (1 points)

  1. In the zip file, include your source code file, comment each line of the code. (1 points)

  1. In your report, include a screenshot of the program outcome. (1 points)

2 | P a g e

Project 01: Assembly
$40.00 $34.00