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

  Problem on boolean calculator

Problem on Boolean Calculator

  Prepare a program which manages a registry of compact discs

make a program that manages a registry of compact discs cds. the register may e.g. based on a doubly linked list

  Which process is the best choice

In SQL Server, multiple WHERE statements can accomplish almost everything that a UNION can. TRUE OR FALSE. Justify your reply . This question is not asking that method is the best choice or the more efficient. It is simply asking is it possible.

  Give difference between posttest and pretest loops

What is the major difference between posttest and pretest loops.

  Develop high-fidelity prototype

Develop high-fidelity prototype. Based on the user test feedback and recommendations from the previous phase, develop a high-fidelity prototype (i.e. reasonably complete version) for the Robot Expo information kiosk. Use any combination of HTML5, CSS..

  Recognizing the error

Make out error in the following given code:#include //Line 1 using namespace std; //Line 2

  Compare and contrast the software development process

question 1 take a position on the idea that software development is either a creation process or a manufacturing

  Write an int method named sum that accepts an integer array

Write an int method named sum that accepts an integer array , and the number of elements in the array and returns the sum of the elements of the array .

  Network design will support dial-up

Justify whether or not your network design will support dial-up or VPN remote access using descriptions of the following aspects: the advantages and disadvantages of the remote access solution, network protocols that will be used on your network, ..

  Questionin this assignment you will plan and write a gui

questionin this assignment you will plan and write a gui program to calculate pay for different types of employees.

  Type of structure-frame structure system

There are different types of frame system which are having combination beams(which is called horizontal element) , column (which is called vertical element)  and slab to hold the lateral and gravity, types of frame structure:-

  What is involved in the project scope management

why is good project scope management so important on information technology projects.

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