[SOLVED] CDA3103 Project 1

35.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)

Programming Project 1

Using the MARIE computer assembly language, write a program that computes the following expression: z = a * b * c. The computer will read in the input values a, b, and c from the keyboard and the final result (z) have to be displayed. In addition, every time an input value is read in, it must be displayed on the screen. Remember that the instruction set does not have an instruction to execute multiplication. The program must be tested on MARIE simulator.

All numbers used to test your program must be positive numbers (greater than zero).

On Webcourses you will find the MARIE folder with all the necessary documents on MARIE:

1) How to download the MARIA simulator 2) A guide to the MARIE simulator environment.
3) A presentation to understand MARIE

Submit through Webcourses.

Your assembly program using a MARIE mas file. For example: myprogramname.mas The program must have your name at the beginning of the program as a comment. Also include the text file.

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.