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

  Organizations attempting to regulate the networking field

define whether there are too many standards organizations attempting to regulate the networking field. Take into consideration whether consultation is necessary, and whether governmental or larger international bodies should be formed to manage st..

  What are the reasons of project failure

Make sure to contain how and why project was initiated, what setting up was done, how plan went wrong and what was done to solve the trouble. What are the reasons of project failure

  Patterns may the neural network show from sources

If someone were to have a neural network that could scan information on all aspects of your life, where will  that neural network be able to find information about you.

  What is the maximum number of memory location

With an instruction format having two register address fields, one 3-bit addressing mode field, and one 8-bit immediate operand, what is the maximum number of op-codes possible

  What is ethical and what is unethical how was this

write about a situation in about 2 pages where you have been in a leadership postion at your workplace and have been

  The problemyou have been given the job of choosing an

the problemyou have been given the job of choosing an admission policy for an atm multiplexer which has been

  A non-linear circuit problem

Computer program which will calculate the voltage across a resistor in the circuit

  What is the normalization

What needs must a two-dimensional table satisfy in order to be a relation? Provide an example of a table that is a relation.

  How star configuration with a single router in the middle

A seven-story office building has 15 adjacent offices per floor. Each office contains the wall socket for a terminal in the front wall, so the sockets form a rectangular grid in the vertical plane, with a separation of 4 meters between sockets, bo..

  Describe mutual strategy to maintain enterprise-level system

Describe mutual strategy to maintain enterprise-level system

  Write down a big-inteter calculator program

note down a big-inteter calculator program that allows the user to enter two large integers and the operation to be performed and that calls the appropriate function to carry out the designated operation.

  Questionrequire to create a database for music these are

questionrequire to create a database for music. these are entities that i will use for music database with their own

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