How many 0-address instructions can still you can fit

Assignment Help Computer Engineering
Reference no: EM131048402

Question 1. Write a MARIE program using a loop that multiplies two non-negative numbers by using repeated addition. For example, to multiply 3 x 6, the program would add 3 six times or add 6 three times. You should write and run the program using MARIE simulator. Also write the code with Address, Instruction, and Comments.

Question 2. 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 five 2-address instructions and 40 1-address instructions. How many 0-address instructions can still you can fit? Justify your answer.

Question 3. Write code 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.

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 demonstrate and appropriately use computer organisation and architecture terminologies;
- 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;

Reference no: EM131048402

Questions Cloud

Metabolic rate and body mass for caterpillars : Metabolic rate and body mass for caterpillars. Does the general relationship between metabolic rate and body mass described in Example 28.10 hold for tobacco hornworm caterpillars? The Minitab output (see page 28-24) was obtained by regressing the..
What is the educational path to achieve this career path : What is the educational path to achieve this career path? Does any kind of certificate raise a person's chance to get a offer? Do you think the position you are offered is equivalent to the educational level you are in?
Nestling mass and nest humidity : Nestling mass and nest humidity. Researchers investigated the relationship between nestling mass, measured in grams, and nest humidity index, measured as the ratio of total mass of water in the nest divided by nest dry mass, for two different grou..
Heights and weights for boys and girls : Heights and weights for boys and girls. Suppose you are designing a study to investigate the relationship between height and weight for boys and girls. (a) Specify a model with parallel regression lines that could be used to predict height separat..
How many 0-address instructions can still you can fit : Write a MARIE program using a loop that multiplies two non-negative numbers by using repeated addition. For example, to multiply 3 x 6, the program would add 3 six times or add 6 three times.
Descriptive statistics and a scatterplot : Potential jurors. Here are descriptive statistics and a scatterplot for the reporting percents in 2003 and 2004 from Table 28.2. (a) Use the descriptive statistics to compute the least-squares regression line for predicting the reporting percent fro..
Combine the two separate regression models : Potential jurors. In Example 28.3 the indicator variable for year (x2= 0 for 1998 and x2= 1 for 2000) was used to combine the two separate regression models from Example 28.1 into one multiple regression model.
What is the internal rate of return on the project : What are the cash flows associated with the project for each year? What is the NPV of the project? What is the internal rate of return on the project? Would you accept the project? Why or why not?
How much is the sales tax : A2331 Final Exam- Practice Questions. If you pay for $25.00 for purchase which includes 11% sales tax. How much is the sales tax

Reviews

Write a Review

Computer Engineering Questions & Answers

  Does the source of information make any difference

Does the source of information make any difference to you? If so, how will you rank the reliability of each of the sources listed?

  Which is true of today''s cios

The traditional set of IS responsibilities includes all of the following except.

  Questiona assume a computer has a maximum memory size of

questiona assume a computer has a maximum memory size of 4mb. what is essential address field width?b assume a computer

  Predict the future role of the communication technology you

select one 1 of the following topics in which you will base your responses in the form of a term papernetwork

  Assign access point channels to the five access points if

consider a one-story building that is a square. it will have an access point in each corner and one in the center of

  Give string that contains more dashes than dots

Write down a seven-character string that contains more dashes than dots and is in the language. Show how you know that your reply is correct.

  More detail to be shown as a process is exploded

In data flow diagrams (DFDs), a process symbol can be referred to as a black box, becase the inputs, outputs, and general funcions of the process are known, but the underlying details and logic of the system are hidden.

  Questionassume you want to deposit a certain amount of

questionassume you want to deposit a certain amount of money into a saving account and after that leave it alone to

  Examine the technical merits and demerits of using a

a hypervisor is computer hardware platform virtualization software that allows multiple different operating systems os

  Povide an example of a company you believe has a good

in a two-page apa formatted paper provide analysis answering the followingnetwork design is a key business decision as

  How to draw a hierarchy chart

How to draw a hierarchy chart

  Plan a decision tree for this situation

Premium Airlines has recently offered to settle claims for a class-action suit that was originated for alleged price fixing of tickets. The proposed settlement is stated as follows. Draw a decision tree for this situation.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd