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

Identify types of input control and explain function of each

Identify four types of input control and explain the function of each. Provide an example of a data integrity error that could occur if each of these types of input control we

What types of technology will be involve in the architecture

Identify what types of technology will be involved in the architecture and explain the purpose of each technology. Create a graphical representation of your recommended archit

Should softarc move to a saas provider

Should SoftArc move to a SaaS provider in order to provide email and office automation services for their employees? What are the advantages and disadvantages of moving to a

Draw a design of a cloud based system for storing

SIT113 - Cloud Computing and Virtualisation Trimester Assignment. Draw a design of a cloud based system for storing, accessing, updating, processing, securing, sharing, and p

Which strings is not generated by the grammar

What is the decimal value of the sum of the binary number 11001 and hexadecimal number 84 - Which of these are not desired characteristics of a hash function in used to constr

Testing a random sample of eight of them

A computer company will screen a shipment of 30 processors by testing a random sample of eight of them. How many different samples are possible? Please answer in details.

Draw the lines-shade out a feasable region

Maximize and minimize p = 2x-y with respect to x+y ≥ 2, x+y ≤ 10, x-y ≥ -2 and x-y ≤ 2. (Draw the lines, shade out a feasable region, look at boundary points)

Number in the data set

A data set has a median of 41, and four of the numbers in the data set are less than median. The data set contains a total of n numbers. If n is odd, and exactly one number


Write a Review

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