Determine the number of memory accesses

Assignment Help Theory of Computation
Reference no: EM132120843

Question 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.
1. How many bits are needed for the opcode?
2. How many bits are left for the address part of the instruction?
3. What is the maximum allowable size for memory?
4. What is the largest unsigned binary number that can be accommodated in one word of memory?

Question 2:
Consider an instruction Add 1000. Memory contents, Accumulator (AC), and R1 Register contents are depicted in the below figure: (such as
memory address 1000 contains a value 1400, memory address 1100 contains a value 400 etc. All the numbers used here are decimals.)

1061_figure.jpg

Assuming R1 is implied in the indexed addressing mode, determine the actual value loaded into the accumulator (AC) using the following addressing modes:
1. Immediate
2. Direct
3. Indirect
4. Indexed

Question 3:

More registers appears to be a good thing, in terms of reducing the total number of memory accesses a program might require. Using the arithmetic expression S = (A+B)-(C+D), support this statement. [Hints: First, determine the number of memory accesses necessary using MARIE and the two registers for holding memory data values (AC and MBR). Then perform the same arithmetic computation for a processor that has more than three registers (for example, R1, R2, R3, R4) to hold memory data values.]

Question 4:

Assemble the MARIE program below.

1059_Program.jpg


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?

Verified Expert

The task is a question-answer type assignment on Computer architecture and computer organization. It contains four questions. The topics are the memory, addressing schemes, MARIE etc. There is a question related to coding in MARIE."

Reference no: EM132120843

Questions Cloud

Describe the ways in which needs and rewards may interact : Supervision requires an understanding of the complex needs that affect individual performance. These needs have been categorized and explained in a number.
Police detective working in criminal intelligence branch : You are a police detective working in the Criminal Intelligence branch. Maintain contact with the agencies that are assisting in problem solving efforts.
How can a better understanding of how we learn be applied : Prior to engaging in this discussion, please read "Chapter 8: Owning Our Learning Experiences" in your e-book and review the Instructor Guidance.
How you might apply a crisis intervention model : For this Assignment, you will review three case studies, select one to which you will respond, and explain how you might apply a crisis intervention model.
Determine the number of memory accesses : What is the value stored in the AC when the program terminates - List the hexadecimal code for each instruction - determine the actual value loaded
Provided by employers in their effort to counteract unionism : A substitute provided by employers in their effort to counteract unionism is. A labor injunction.
What factors may be affecting your hearing : Other than age, what factors may be both positively and negatively affecting your hearing? For example, using headphones regularly or a history of ear.
What historical data are available on process performance : Determine what historical data are available on process performance, or what data need to be collected to better understand the process.
What is history and why should we study history : What is history? Why should we study history? How have history textbooks begun to complicate our histories even further?

Reviews

urv2120843

11/2/2018 3:35:51 AM

This was first experience with you guys.... and now after getting the solution I would like to say that i will get my assignment future assignments from u in future. But if prices would be lower then it would be best, thanks a lot. Thank you very much, appreciated. You are really so much supportive.

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