How many bits are needed for the opcode

Assignment Help Basic Computer Science
Reference no: EM132124745

Questions -

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

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.

Hex Address     Label               Instruction

100                  Start               LOAD A

101                                         ADD B

102                                         STORE D

103                                         CLEAR

104                                         OUTPUT

105                                          ADDI D

106                                         STORE B

107                                           HALT

108                   A,                  HEX 00FC

109                   B,                    DEC 14

10A                   C,                  HEX 0108

10B                   D,                  HEX 0000

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?

Rationale - This assessment task will assess the following learning outcome/s:

  • be able to investigate the internal operation of the Central Processing Unit (CPU) and describe how it is used to execute instructions.
  • be able to investigate and describe in detail the essential elements of computer organisation including internal bus, memory, Input/Output ( I/O) organisations and interfacing standards and discuss how these elements function.

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.

Reference no: EM132124745

Questions Cloud

Four functions of business model created by henry fayol : Can you tell me the differences in planning and organizing in the four functions of business model created by Henry Fayol?
Ability of a team to become high-performance : What affect does a leadership style have on the ability of a team to become high-performance?
How analyzing the data helps healthcare organizations : Explain what quality measures are and how analyzing the data helps healthcare organizations to improve their quality of care.
Indicate the number of job requests : A contractor's records during the least five weeks indicate the number of job requests:
How many bits are needed for the opcode : A digital computer has a memory unit with 16 bits per word. How many bits are needed for the opcode? What is the maximum allowable size for memory
Design review or technical interchange meeting : You are a subcontractor to company Z, who in turn is the prime contract to company Q. Before any design review or technical interchange meeting,
Can you recall a time when you used intuition to make : Can you recall a time when you used intuition to make a decision? Would this have had a better outcome if you used one of the decision
Used for group collaboration on business reports : Search the Internet for a technology product that can be used for group collaboration on business reports.
List the organizational characteristics or factors : List the organizational characteristics or factors that have contributed to their longevity. You do not have to select any specific companies to report on.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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