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

  How does the cell phone help children to communicate

How does the cell phone help children to communicate and are the parents usually encouraging their children to communicate by cell phone?

  If m is a dfa accepting language b

If M is a DFA accepting language B, then exchangeing the accept and reject states gives a new DFA accepting the complement of B. Does this work for an NFA, why?

  All binary strings with at least

Give and FA for each of the languages all binary strings with at least three 1''s and all binary strings with at an odd number of 1''s

  Use truth tables to test for validity

Translate the following argument and use truth tables to test for validity. It will either rain or snow tomorrow. THEREFORE I will have a tough commute."

  Use undecidability of allcfg to show problem is undecidable

Use undecidability of ALLCFG to illustrate that following problem is also undecidable: Given PDA M1 and FA M2, is L(M1) = L(M2)?

  Visit any 2 websites that offer salary survey information

visit any 2 websites that offer salary survey information and compare your positionsalary with what is offered in those

  Issue that requires the use of simple linear regression

Explain how to collect the data for the independent and dependent variables. Explain how to determine the regression equation. Make a case for the main point.

  In an internet retailer you will find a wide range of job

in an internet retailer you will find a wide range of job functions. leaders frequently need to adjust their own

  Most people have a blend of leadership styles they use some

most people have a blend of leadership styles they use. some leaders are more flexible in applying a wide range of

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

  How many states would the dfa have

If instead of 3 letters, your alphabet had k letters, and you build a DFA and an NFA for the language the same way you built them in parts a and b.

  A coinductive calculus of binary trees

The assignment consists of writing an extended abstract of the article  - A coinductive calculus of binary trees

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