How many bits are left for address part of the instruction

Assignment Help Theory of Computation
Reference no: EM131218615

Task

1. 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?

2. 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

3. Write code to implement the expression

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

Online submission via Turnitin is required for this assignment.

Rationale

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 define and appropriately use computer systems terminologies;

be able to describe the essential elements of computer organisation and discuss how the elements function;

be able to describe the basic instruction set architecture of a simple computer;

be able to discuss the general trends in computing technologies including examples of leading edge developments.

Verified Expert

This assignment describes about the various network topology like bus, star and the mesh. their advantage and their disadvantage with the real time example. It also explain about the Distributed Hash Table and its implementation in the peer to peer network and the comparison between the OSI and TCP/IP model as well as the IPv4 and IPV6 addressing.

Reference no: EM131218615

Questions Cloud

What is the percentage point decrease in the unemployment ra : Suppose the unemployment rate in the United States goes from 6.4% in one year to 5.6% in the next.
What are the important facts that you need to emphasize : Create a list that contains all the criteria that you and your team members have identified together. Then, from the list, select a set of criteria that your team will use to determine the viability of solutions. Explain each solution in reasonabl..
Calculating the actuarially fair premium for example : How do I take into account these deductibles when calculating the actuarially fair premium for example? How is the setup?
What is the dramatic moment in the the fourth of july : What is the dramatic moment in the "The Fourth of July?" How does Lorde tell the story in a way that makes that moment especially effective? Explore this by analyzing the organization of Lorde's essay.
How many bits are left for address part of the instruction : How many bits are left for the address part of the instruction - What is the maximum allowable size for memory and what is the largest unsigned binary number that can be accommodated in one word of memory?
Allocation of resources is made using : Alvin Roth of Harvard won the 2012 Nobel Prize in Economics for designing systems that allocate resources in innovative ways. For example, he designed a system that matches donated kidneys to recipients waiting for such donations. This system take..
What are you thoughts on this presentation : What are you thoughts about companies collecting data about you? Do you feel this type of data collection is a beneficial or detrimental? Why? Do you feel you have a right to know what data companies are collecting about you? Does this concern you..
Diverse board of directors that includes representatives : How might a company benefit from having a diverse board of directors that includes representatives of several industries, countries, and cultures.
Interpret the direct demand function derived : 1. Consider the general demand function: Qd = 8,000-16P + 0.75M + 30PR; where Qd is quantity demanded, P is price, M is income, and PR is the price of a related good.

Reviews

len1218615

9/24/2016 6:09:50 AM

Marking criteria The following marking criteria will be used to mark this assignment: Questions Fail (<50%) Pass (50% - 64%) Credit (65% - 74%) Distinction (75% - 84%) High Distinction (>84%) Question 1 &2 Incorrect answer with no demonstration of understanding the topic. Student demonstrate the understanding, however the calculations are incorrect. Answers are correct, omission of few calculations. Answers are correct and clearly show the calculations Question 3 Answers are incorrect Total marks available = 5 marks · Subtract the marks are set in marking criteria for each incorrect or missing instruction value in the code assembly; Subtract 1 mark for each incorrect or missing symbol;

Write a Review

Theory of Computation Questions & Answers

  Finite-state machine design

Create a finite-state machine design to turn your FPGA development board into a simple programmable music box.

  Redundant sequence identi cation

Redundant sequence identi cation

  Compute a shortest superstring

Dynamic programming algorithm to compute a shortest superstring.

  Propositional and predicate logic

Write down a structural induction principle for the PlayTree free type

  Design a syntactic analyzer

Design a syntactic analyzer for the language specified by the grammar

  Design unambiguous grammar to parse expressions

Write a program would read two numbers and then print all numbers between the first and the second, inclusive. Design unambiguous grammar to parse expressions

  Consider a logic function with three outputs

Consider a logic function with three outputs,  A ,  B , and  C , and three inputs,  D ,  E , and  F . The function is defined as follows:  A  is true if at least one input is true,  B  is true

  Considering a single programmed operating system

Considering a single programmed operating system, what is the minimal total time required to complete executions of the two processes? You should explain your answer with a diagram.

  How to construct an nfa

Give a construction that assumes you are given a DFA for L and show how to construct an NFA (with or without ε-moves) to recognize sort(L).

  Equivalence classes to construct minimal dfa for language

How many equivalence classes does this relation have and what are they? Use these equivalence classes to construct the minimal DFA for the language.

  Impact of moore-s law on data center costs

Discuss the impact of Moore's law on data center costs on such things as servers and communications equipment. List at least 3 steps or recommendations your data center can take to offset some or all of the effect of Moore's law.

  Problem encountered in statements in predicate logic

How the problem would be encountered in attempting to represent the following statements in Predicate logic. it should be possible to: John only likes to see French movies.

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