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

  What is the focal length of the lens

If the speed of the gas relative to the rocket is 40m/s, and the mass of rocket is 4 kg, what is the initial acceleration of the rocket and what is the focal length of the lens when it is completely immersed in water of RI 4/3?

  The challenges of antonios wayfive basic goals often

the challenges of antonios wayfive basic goals often referred to as the backbone of antonios way were posted in

  Rahman s a 2006 lsquoattitudes of malaysian teachers toward

rahman s. a. 2006 lsquoattitudes of malaysian teachers toward a performance-appraisal system journal of applied social

  Write down an illustration of a hypothetical situation when

question 1 explain why t1s values above 0 versus c will not matter for comparing algorithms.question 2 give an example

  Front end and back end processes of office automation

Discuss the difference between the front end and back-end processes of office automation? Provide some examples in your workplace or that you come into contact with?

  Give both an fa and an re for l

In a string, a block is a substring in which all symbols are the same which can't be enlarged. For example, 0001100 have three blocks.

  If l recognized by dfa then language left half is regular

We showed to prove that if L can be identified by DFA then the language left half(L) = {x ∈ ∑*|∃y xy ∈ L and |x| = |y|} is also regular; here |x| means length of x.

  How the computations of the new az or bearings

Compute the following Azimuths into Bearings a. 132°45'31" b. 289°12'12" c. 220°47'39" Compute the following Bearings into Azimuths a. N00°00'59"E b. S89°14'56"E c. S45°00'00"W

  Give english descriptions of the languages

Give English descriptions of the languages represented by the subsequent regular expressions. Example: "languages of binary strings containing 0 in even positions. . ."

  Write a research paper excluding the title page on logical

write a research paper excluding the title page on logical circular and arithmetic shift operations. use an example not

  Recent research has shown that a job and a competitive

recent research has shown that a job and a competitive remuneration package are not sufficient for attracting competent

  Conduct report and present a description of both of these

conduct report and present a description of both of these two agile methodologiescompare and contrast these two

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