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

  The roommate problem and intern assignment problem

Implementation of both the algorithms using C/C++ code 1. roommates problem 2. Intern Problem

  Sketch the signals corresponding to the following bit stream

Sketch the signals corresponding to the following bit stream: 01000110 assuming a symbol duration T = 1s:- Unipolar RZ signals

  1 produce a report of up to 500 words on the topic talent

1. produce a report of up to 500 words on the topic talent planning in operation. nbspnbspnbspnbsp please ensure that

  Construct an finite automata that accepts all binary strings

Construct an FA (finite automata) that accepts all binary strings with an even number of 0's and the number of 1's is a multiple of 3.Provide the answer of given question and also give details.

  A new manager is starting in the organisation shortly you

a new manager is starting in the organisation shortly. you have been asked to provide an outline to this new-starter so

  Find cfgs for the languages

Find CFGs for the languages over the alphabet sigma = {a   b}:

  Prove using the pumping lemma and closure properties

Prove using the pumping lemma and closure properties that the languages below are not regular. You can use the game argument provided in class.

  Write grammar for language comprising of strings

Write down the grammar for language comprising of strings which have n copies of letter a followed by same number of copies of letter b, where n > 0.

  Your executive directors are proposing to reduce the size

your executive directors are proposing to reduce the size of the hr section or even close the function completely. you

  Formulate this problem as language

Consider the problem of testing whether a Turing machine M on an input w ever attempts to move its head left when its head is on the left-most tape cell.

  Write problems which have no solutions

What does the term solvable mean to you? What does it mean to say that "you solved a problem"? Determine examples of problems for which you believe there are no solutions.

  Turing machine model

Think about the following Turing-machine model, A tape that is infinitely long in both directions and is divided into cells; at any given step, each cell either is blank or contains a 1.

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