CP40053E Computer Architecture, Assignment 1, UWL

Published: 27 Dec, 2024
Category Assignment Subject Computer Science
University University Of West London Module Title CP40053E Computer Architecture

Overview

The assessment consists of three elements.
- In elements 1 and 3, complete an online multiple-choice quiz on Blackboard.
- In element 2, implement a number of programs. For each program, you need to submit source code as an x86 assembly file (.asm), as specified in the task description.

For the element 2 programming submission, please note the following:
1. Any code you write must be in 86 assembly (as introduced during lecture and seminars).
2. Your code should be correct, maintainable and readable:

a. Code should be reasonably commented. Your student ID must be evident in the code comments for each program.
b. Use of whitespace (tabulators, empty lines, etc.) should be conducive to reading the code.

3. All code in your solutions must be your own.
4. You can develop your submission in whatever environment you like (Windows, Macintosh, Linux, you name it), but a common standard is necessary. Therefore, it is a significant requirement that your submission executes correctly in the respective environment. For assembly, this is the x86 assembly environment in Visual Studio 2019 or Visual Studio 2022 as provided on UWL’s computers. Remote access to both is available via Apps Anywhere.
5. Some parts of the assessment may stipulate strict submission structure (user input, program output, etc.) and identifier values (e.g., names for files, folders, functions, etc.). Meeting these requirements to the letter forms a significant part of the grade.

Elements 1-10

Title:  Quiz

Task details: These are online tests covering the topics discussed in this module to date. The tests will contain a number of short questions.

Element 11

Title: Assembly programming
Task details: Implement a module containing four functions:

Program 1: Calculate the greatest common divisor of two numbers in x86 assembly

Write a program in x86 assembly that outputs the greatest common divisor of two given values specified in the assembly code as exit code. (Extra marks if the result is printed to the console.) Use the Euclidean algorithm introduced in the lecture.

Write a short (one paragraph, 150 words max.) explanation how the Euclidean algorithm was implemented. In the document, provide a screenshot showing your code and the corresponding output.

Program 2: Sum up odd numbers in x86 assembly

Write a program in x86 assembly that adds up all odd numbers in a given range, specified in the assembly code, and outputs the sum as exit Code. (Extra marks if the result is printed to the console.)

Write a short (one paragraph, 150 words max.) explanation how the odd values were selected and how the sum of odd numbers was arrived at. In the document, provide a screenshot showing your code and the corresponding output.

Program 3: Divide your student number and print the result in the console

Write a program in x86 assembly that takes your student number, stored as an integer (NOT as a string), and divides it by 7. It should then be printed to the console. Print the result, rounded to the nearest whole number, on the console.

Writing your own code for converting an integer into the corresponding ASCII values is part of the task and should not be left to the operating system!

Write a short (one paragraph, 150 words max.) explanation how you achieved printing an integer to the console. In the document, provide a screenshot showing your code and the corresponding output.

Need assistance with your CP40053E Computer Architecture Assignment 1? Our professional assignment writing help services are here to simplify complex concepts and provide you with expert solutions. Whether it's understanding architecture principles or advanced design, we’ve got you covered. UK students can rely on our computer science assignment help for personalized support. Looking for guidance? Access assignment examples crafted by specialists and take the first step toward academic success today!

Workingment Unique Features
MED-7024F: Transferrable Skills Grant Application Project Work UEA MRes 2025

MED-7024F: This assignment is intended to approximate a real-life grant application to one of the major funding bodies. Students will be asked to identify a suitable potential funder and scheme, but will be required

MIS171 Business Analytics Assignment 3 Tri1 2025 | DU

MIS171 Business Analytics Assignment 3: The assignment requires that you analyse a data set, interpret, and draw conclusions from your analysis, and then convey your conclusions in a written report.

MGT 200 Team Management Final Assessment Question 2 | SNHU

Earth-Kind, headquartered in Bismarck, North Dakota, in the USA, was founded in 1993 by Kari Warberg Block (Kari). Kari's entrepreneurial journey started when she began selling potpourri and organic produce on her farm. She then went into manufacturing.

Assessment Final: Critically appraise the design and findings of a research study related to a public health issue

Assessment: Having completed this module, you are now ready to independently read, interpret, and critically appraise published research. In this 2000-word assignment, you will critically review a paper published

IS333 Project Management Assignment 2 Brief Semester 1 2025 | USP

ABC Bank is a mid-sized banking institution operating nationally with over 12 branches and 1 million customers. The bank currently relies on a fragmented system of legacy software tools for its operations.

NVQ Level 3 Health and Safety Risk Management Assignment Brief 2025

It is recommended that you include an example of a risk assessment procedure and what you did with the results to change or adjust work practices or environmental features to reduce risk.

HSY2603 Assignment 4 Portfolio Essay Question - Unisa

HSY2603 ESSAY QUESTIONS: Discuss the significance of the discovery of rich resources of diamonds and gold in southern Africa between the 1860’s and the 1890’s.

T/650/9628 BTEC Level 4 Unit Engineering Design Assignment Brief | UOS

You work as a design engineer for a small manufacturing company and have been asked to meet with a potential customer. The company mass-produces Printed Circuit Boards (PCBs) for laptop computers, in factories across Asia, the Far East and South America.

K/615/1475 BTEC Level 4 Engineering Design Assignment 01 Brief | LSBU

You work for a company that provides design solutions for a range of businesses and clients for both Mechanical and Electrical engineering applications. You have been approached by a client who utilises Automated Seedling Transplanters in the function of their farming operation.

K/618/4167 ATHE Level 3 Unit 1  Structure and Overview of the Health and Social Assignment Brief

K/618/4167 ATHE Level 3 Unit 1 Assignment: You are doing a work placement in the training department of a large health and social care organisation. The manager has asked you to draft some materials for an induction programme

Online Assignment Help in UK