Assignment 2: MARIE and ISA Value: 15% Due Date: 25-Jan-2019 Return Date: 18-Feb-2019 Length: Submission method options: Alternative submission method Task back to top Total marks: 30 Question 1: A...

1 answer below »

Assignment 2: MARIE and ISA


Value:15%Due Date:25-Jan-2019Return Date:18-Feb-2019Length:
Submission method options:Alternative submission method

Task


back to top

Total marks: 30


Question 1:


A digital computer has a memory unit with 24 bits per word. The instruction set consists of 199 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.[8 marks]



  1. How many bits are needed for the opcode?

  2. How many bits are left for the address part of the instruction?

  3. What is the maximum allowable size for memory?

  4. What is the largest signed binary number that can be accommodated in one word of memory?

Question 2:

Suppose you have the instruction “Add 900”. Given the memory as follows, the contents of AC and the base register are 200 and 100 respectively.[6 marks]



Memory address value

800 900

900 1000

1000 500

1100 600

1200 800

1300 250

What would be loaded into the AC, if the addressing mode for the operand is:

  1. Immediate

  2. Direct

  3. Indirect

  4. Indexed






Question 3:

Write code to implement the expression: F = (A-B)*(C*D+E) on 0-address, 1-address and 2-address machines. In accordance with programming language practice, computing the expression should not change the values of its operands.[8 marks]





Question 4:


In a computer instruction format, the instruction length is 10 bits and the size of an address field is 3 bits. The system architect has already designed FIFTEEN 2-address instructions and SEVEN 1-address instructions. How many 0-address instruction still possible to accommodate for the instruction set architecture? [8 marks]






Rationale


back to top

This assessment task will assess the following learning outcome/s:



  • be able to investigate the internal operation of the Central Processing Unit (CPU) and describe how it is used to execute instructions.

  • be able to investigate and describe in detail the essential elements of computer organisation including internal bus, memory, Input/Output ( I/O) organisations and interfacing standards and discuss how these elements function.

This assessment task covers topics on CPU operation and Instruction Set Architecture, and has been designed to ensure that you are engaging with the subject content on a regular basis.

Marking criteria and standards


back to top




































Criteria



HD (85%-100%)



DI (75%-84%)



CR (65%-74%)



PS (50%-64%)



FL (0%-49%)



Correct Calculation in Q1 and Q2



Answers are correct and clearly show the calculations.



Answers are correct, an omission of few calculations.



Answers are correct, an omission of many calculations.



Student demonstrates the understanding, however, the calculations are incorrect.



Incorrect answer with no demonstration of understanding the topic.



Correct steps in assembly code in Q3



Assembly Program is correct and clearly show the steps.



Assembly Program is correct, an omission of few steps.



Assembly Program is correct, an omission of many steps.



Student demonstrate the understanding in writing assembly program related to each architecture, however, the steps are incorrect.



Incorrect program with no demonstration of understanding the topic.



Correct Answer in Q4



Answers are correct and clearly show the calculations.



Answers are correct, omission of very few calculations.



Answers are correct, omission of more calculations.



Student demonstrate the understanding, however the calculations are incorrect.



Incorrect program with no demonstration of understanding the topic.



Presentation


back to top

File naming convention: When you upload files to the TURNITIN for this subject, please use SUBJECT CODE, SURNAME, STUDENT ID, ASSESSMENT NUMBER, SESSION. For example - ITC544 PATEL 11554466 A2 201890.doc
Please also adhere to the following formatting rules:






1. Please compose the answers in a document file (doc or docx format). Please do not submit in pdf formats. Please upload the document in the TURNITIN within the deadline.


2. You may put the mas file and document file in a folder, compress the folder and upload the compressed file to the TURNITIN. You may also upload the two files separately.


3. The first page (cover page) of the document file should have the following information clearly mentioned:


a. Your full name
b. Your Student ID
c. Subject Code (ITC544)
d. Assessment item number and name (Assignment 2: MARIE & ISA)


4. Each page should have page numbers in “page x of y” format (including the cover page).


5. You DO NOT need to provide any references for any of the questions.

Answered Same DayFeb 02, 2021ITC544Charles Sturt University

Answer To: Assignment 2: MARIE and ISA Value: 15% Due Date: 25-Jan-2019 Return Date: 18-Feb-2019 Length:...

Navashree answered on Feb 03 2021
144 Votes
Title Page
Student Name
Student ID
Subject Code : ITC544
Assignment 2: MARIE & ISA
Table of Contents
Question 1    3
Question 2    3

Question 3    4
Question 4    6
Question 1
According to the given information, the size of each memory word is, 24 bits. The instruction set consists of 199 different instructions for each operations. Each instruction has two parts, opcode and address part. The address part of each instruction contains one address only. And each instruction fits into 1 memory word.
1. As each instruction fits into 1 memory word and each instruction has opcode and address part. So, it will require 8 bits to represent each instruction as, . So, minimum 8 bits are needed to represent 199 instructions. And, 8 bits are needed for the opcode part.
2. Other than the opcode part, there is the address part. So, the address part has, (24 – 8) bits = 16 bits for each instruction.
3. Each memory location is addressable by an address and each address is 16 bits long. Hence, it can identify, locations. And each memory word is 24 bits long. So, the maximum allowable size is, = bits = 192 KB
4. Each memory word is 24 bits long. Hence, the largest signed binary number will have 23 numbers of 1’s and a sign bit. So, it will be +
Question 2
The given instruction is, Add 900. The value of AC is 200. The...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here