We're Open
+44 7340 9595 39
+44 20 3239 6980

WRITE A MARIE PROGRAM AND ISA

  100% Pass and No Plagiarism Guaranteed

WRITE A MARIE PROGRAM AND ISA

MARIE  and  ISA


  1. (a) The Fibonacci numbers are the numbers in the following integer sequence, called the Fibonaccisequence, and are characterised by the fact that every number after the first two is the sum of the two preceding ones: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 114, … etc.

By definition, the first two numbers in the Fibonacci sequence are 0 and 1, and each subsequent number is the sum of the previous two. We define Fib(0)=0, Fib(1)=1, Fib(2)=1, Fib(3)=2, Fib(4)=3, etc. The first 22 Fibonacci numbers given below:

Fib(0)

Fib(1)

Fib(2)

Fib(3)

Fib(4)

Fib(5)

Fib(6)

Fib(7)

Fib(8)

Fib(9)

Fib(10)

0

1

1

2

3

5

8

13

21

34

55

 

Fib(11)

Fib(12)

Fib(13)

Fib(14)

Fib(15)

Fib(16)

Fib(17)

Fib(18)

Fib(19)

Fib(20)

Fib(21)

89

144

233

377

610

987

1597

2584

4181

6765

10946

Write a MARIE program to calculate Fib(n), where the user inputs n. For example, if the user inputs 7, the program outputs the value 13; if the user inputs 15, the program outputs the value 610; if the user inputs 20, the program outputs the value 6765 etc. You need to write and run the program using MARIE simulator. Please include appropriate comments to make your code readable.[10 marks]

(b) For some values of n, your program will not produce correct results. You can check this by gradually increasing the values of n and checking for the correct outputs. What is the maximum value of n for which your program produces a correct result? Why? Please comment on this [5 marks].

  1. You are designing an instruction set for your computer. All the instructions are of same size (11 bits long). The size of an address field is 4 bits. You have already designed 5 2-address instructions and 45 1-address instructions. How many 0-address instructions still you can fit? Justify your answer.  [7 marks]
  1. Write codes to implement the expression: A= (B + C * D – E) on 3-, 2-, 1- and 0-address machines. In accordance with programming language practice, computing the expression should not change the values of its operands. [8 marks]

Rationale

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. More specifically it seeks to assess your ability to:

  • 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;

Marking criteria

Criteria

HD (85%-100%)

DI (75%-84%)

CR (65%-74%)

PS (50%-64%)

FL (0%-49%)

Simulating and investigating of internal operations of CPU and it`s instruction execution

The code meets the specification. Code is well documented with comments. The program produces correct outputs in every input situations.

 Code meets specification and is well documented with comments. Minor errors in exlapnations.

Code meets specification. Most of the time produces correct results, however does not produce correct results for special inputs. Little documentation and comments.

Code meets specification but has errors in operation. Little commenting. Basic idea is expressed by the codes and explnations.

Code does not meet the specification

 Comprehension of internal elements of computer organisation

Answers are corrects. All steps are correctly shown.

All codes are accurately written.

All answers are correct with a minor error. All codes are correct except a minor error.

Few minor errors in calculating the address spaces. The steps show the clear understanding of the address space caiculation. 

All codes written correctly however the order were not maintained corretly.

The final result is not correct, however the calculations show the basic understanding of the instruction set architecture.

More than half of the codes are correct.

No attempt or incorrect calculations showing no or minimum understanding of the topic.

Codes do not meet the specification.

Presentation

  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 deadline.

    2. The first page (cover page) of the document file should have the following information clearly mentioned:
  1. Your full name
    b. Your Student ID
    c. Subject Code (ITC544)
    d. Assessment item number and name (Assignment 2: MARIE & ISA)
  1. Each page should have page numbers in “page x of y” format (including the cover page).

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

100% Plagiarism Free & Custom Written,
Tailored to your instructions


International House, 12 Constance Street, London, United Kingdom,
E16 2DQ

UK Registered Company # 11483120


100% Pass Guarantee

STILL NOT CONVINCED?

View our samples written by our professional writers to let you comprehend how your work is going to look like. We have categorised this into 3 categories with a few different subject domains

View Our Samples

We offer a £ 2999

If your assignment is plagiarised, we will give you £ 2999 in compensation

Recent Updates

Details

  • Title: WRITE A MARIE PROGRAM AND ISA
  • Price: £ 109
  • Post Date: 2024-08-28T18:23:38+00:00
  • Category: Assignment
  • No Plagiarism Guarantee
  • 100% Custom Written

Customer Reviews

WRITE A MARIE PROGRAM AND ISA WRITE A MARIE PROGRAM AND ISA
Reviews: 5

A masterpiece of assignment by , written on 2020-03-12

Insta Research is a very helpful place to buy a resume in the first place. I gave them my details and did not expect that they would come up with such an exclusive design. My personality is professionally enhanced through the resume made by them. I am thankful for the depth of my heart as I would have never approached that level of excellence in my resume. Wish you good luck ahead and again thank you!
Reviews: 5

A masterpiece of assignment by , written on 2020-03-12

Now I am happy that I made the right decision of coming to Insta Research for help. My term paper was so technical and analytical at the same time. I got really confused about what to do but got relaxed when I was given such a humble writer. He clarified my concepts with the best explanations and discussions. I almost interacted with him on daily basis within the writing process. The best feature of this site is quick delivery as I got the work before my deadline. Additionally, the term paper is written skillfully and handled quite professionally. Now I am able to take a deep sigh of relief and thank you all for such speedy help. The quality of the work made my day.