University Computer Organization and Architecture Questions
T103/TM103: Computer Organization and Architecture KSA – TMA Spring 23/24 Cut-Off Date: Based on the Published Deadline. Total Marks: 30 marks turned to 15 marks Content Warnings and Declaration…………………………………….……………………………………1 Question 1 ……………….…………………………………. ……………………………………..2 Question 2 ………………………………………………………………………………….…..…..2 Plagiarism Warning: As per AOU rules and regulations, all students are required to submit their own TMA work and avoid plagiarism. The AOU has implemented sophisticated techniques for plagiarism detection. You must provide all references in case you use and quote another person’s work in your TMA. You will be penalized for any act of plagiarism as per the AOU’s rules and regulations. Declaration of No Plagiarism by Student (to be signed and submitted by student with TMA work): I hereby declare that this submitted TMA work is a result of my own efforts and I have not plagiarized any other person’s work. I have provided all references of information that I have used and quoted in my TMA work. Name of Student:…………………………….. Signature:…………………………………………… Date:………………………………………………… T103/TM103 / TMA Page 1 of 2 2023/2024 Spring Problem1 : Working with MARIE (18 Marks) a) Write a MARIE assembly code to perform the following pseudocode excerpt. Input a number Assign this number to x Input a number Assign this number to y If y< x { Let z= 2*x Assign the value of y to AC } Else { Let z=3*x Assign the value of x to AC } End: Display the AC value Stop b) Include a screenshot of the simulation’s result (A screenshot of the MARIE Simulator window after running the program). Instructions: – Use “ORG” instruction to start your program at address equivalent to (30008). – Use your last university ID number to input the new values of x and y respectively. – For example, if your ID is 2412161678235, then you will use the number 3 as the value of x and 5 as the value of y. Do not forget to change the Input and output boxes to decimal! – Proper labels and directives should be included at the end of your program. Problem 2: Problem Solving (12 Marks) Suppose you have a computer with a main memory that is word-addressable and has a size of 32K x 16. The assembly program’s instruction set consists of 400 different operations. All instructions have an operation code part (opcode) and an address part, allowing for only one address. Each instruction is stored in one word of memory. a. Determine the number of bits needed for the opcode. b. Calculate the number of bits available for the address part of the instruction. c. Find out how many additional instructions could be added to this instruction set without exceeding the assigned number of bits. Discuss and show your calculations. d. Determine the largest unsigned binary number that the address can hold. End of TMA T103/TM103 / TMA Page 2 of 2 2023/2024 Spring
Collepals.com Plagiarism Free Papers
Are you looking for custom essay writing service or even dissertation writing services? Just request for our write my paper service, and we'll match you with the best essay writer in your subject! With an exceptional team of professional academic experts in a wide range of subjects, we can guarantee you an unrivaled quality of custom-written papers.
Get ZERO PLAGIARISM, HUMAN WRITTEN ESSAYS
Why Hire Collepals.com writers to do your paper?
Quality- We are experienced and have access to ample research materials.
We write plagiarism Free Content
Confidential- We never share or sell your personal information to third parties.
Support-Chat with us today! We are always waiting to answer all your questions.