How many bits are needed for the opcode

Assignment Help Computer Engineering
Reference no: EM131212171

Assignment - MARIE & ISA

Task-

Q1. A digital computer has a memory unit with 16 bits per word. The instruction set consists of 122 different operations. All instructions have an operation code part (opcode) and an address part (allowing for only one address). Each instruction is stored in one word of memory.

a) How many bits are needed for the opcode?

b) How many bits are left for the address part of the instruction?

c) What is the maximum allowable size for memory?

d) What is the largest unsigned binary number that can be accommodated in one word of memory?

Q2. Consider the MARIE program below.

a) List the hexadecimal code for each instruction.

b) Draw the symbol table.

c) What is the value stored in the AC when the program terminates?

Hex

Addr Label          Instruction

100 Start,             Load A

101                         Add B

102                         Store Temp

103                         Load C

104                         Add D

105                         Add Temp

106                         Store F

107                         Output

108                         HALT

109    A,                 DEC 5

10A    B,                DEC 3

10B     C,                DEC 4

10C     D,               DEC 13

10D     E,                DEC 3

10E   Temp,      HEX 00FD

10F     F,                HEX 00FE

Q3. Write code to implement the expression

F = (A+B) /(C*D*E) on 2-, 1- and 0-address machines.

Reference no: EM131212171

Questions Cloud

Develop the function qwerty : Exercise 5 Develop the function qwerty. The function consumes a counting number and extracts that many keyboard characters from the string "qwerty".
Develop a java application that inputs the salesperson : Develop a Java application that inputs the salesperson's gross sales for that item for last week and calculates and displays that salesperson's earnings. There is no limit to the number of items sold. After the loop is done, print out the aggregat..
Alexander falconbridge an account of the slave trade : What does Falconbridge's account of the slave trade and the middle passage tell us about the nature of the Atlantic Slave trade?
What are the purpose of change management : Question 1: What are the purpose of change management? Question 2: What is a relationship between changeq Incidentq Service Request q Release Question 3: What are the Fiverisk indicators of poor change management ?
How many bits are needed for the opcode : A digital computer has a memory unit with 16 bits per word. The instruction set consists of 122 different operations. All instructions have an operation code part (opcode) and an address part (allowing for only one address). How many bits are need..
How many of these one million pairs will hash to the bucket : If we hash each field to a large number of buckets, as suggested by Example 22.9, how many of these one million pairs will hash to the same bucket for at least one of the three hashings?
Picture of systems analysis and systems development : How does the Internet, and more specifically the World Wide Web, fit into the picture of systems analysis and systems development?
The histories the second persian invasion of greece : Read given file, Herodotus, The Histories, The Second Persian Invasion of Greece. - And discuss should contain a thesis statement, evidence from the texts to support argument.
Identify the economic environment : Using your chosen company's domestic and global environments identify the economic environment of each and compare and contrast it using Rostow and Galbraith (see lesson plan and resources below).

Reviews

len1212171

9/19/2016 5:15:54 AM

This assessment task covers topics on CPU operation and Instruction Set Architecture, and has been designed to make sure that you are engaging with the subject content on a regular basis. More specifically it seeks to assess your ability to define and appropriately use computer systems terminologies; describe the essential elements of computer organisation and discuss how the elements function; describe the basic instruction set architecture of a simple computer; discuss the general trends in computing technologies including examples of leading edge developments.

Write a Review

Computer Engineering Questions & Answers

  Term paper students self-service website for mobile devices

term paper students self-service website for mobile devices in order to provide a convenient self-service solution for

  Create a script named test-files and

Create e script named all_users, which would  display a message and Create a script named test-files

  Plan to access the data stored in productlistarr

Assignment CSC 1401. In the beginning of the program, print to a table the catalogue for all products including name, code, and price, to assist users shopping.

  How to create an exit button

make a VB GUI program that tracks your employees and their previous work history. List your employees names in a drop down combo box. When the user selects a employee, display in a text area all of their previous work performed under code name Jam..

  What is an accumulator

There are some instructions where the ALU and register_AC together will act as an accumulator. What is an accumulator. There are some instructions that do not require an output from the ALU. You can choose the output of the ALU in these cases. What ..

  Write a short memo explaining the concept to your boss

Using the Web, investigate the term, virtual desktop infrastructure (VDI). Write a short memo explaining the concept to your boss.

  Produce two random integer numbers between 1 and 200

Produce two random integer numbers between 1 and 200.

  Question1 write down a program with a function that returns

question1. write down a program with a function that returns a random integer between 0 and an integer supplied as an

  Analyze the photo from another theoretical perspective

Choose a magazine photo and analyze its content from one of the perspectives described in this chapter. Then analyze the photo from another theoretical perspective. How do your insights differ depending on which theoretical perspective is used

  What would you look for in comparing various makes and model

What would you look for in comparing various makes and models? How is your line of thinking different in this situation than if you were to help your employer purchase a Web server to accept customers' orders over the Internet?

  Create a new project in bluej called assignment

Facebook now want to expand their software to include extra features. They need the software to be able to maintain large numbers of Friends and Stories. It must also include the ability to add Events and to classify Friends as best friends or close ..

  Create and demonstrate an opengl based gui framework

5CC509: Graphics - An OpenGL based GUI framework. One of the core requirements for building this new framework is to use OpenGL for platform independent rendering, so that a tighter UI integration with their 3D applications can be achieved. In this..

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