Memory Reference and Register Reference Instructions
18 Questions
0 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What is the operation code for register reference instructions?

  • 0111 (correct)
  • 1111
  • 0101
  • 1000
  • In a memory reference instruction, what are the leftmost four bits equivalent to in hexadecimal?

  • F
  • 8
  • A
  • 7 (correct)
  • For an input-output instruction, what is the leftmost four bits equivalent to in hexadecimal?

  • F (correct)
  • 8
  • A
  • 7
  • In a register reference instruction, what is done with the AC register?

    <p>AC ← ~AC</p> Signup and view all the answers

    What is the significance of bit 15 in determining the instruction type?

    <p>Determines addressing mode I if equal to 0</p> Signup and view all the answers

    What happens if the 3-bit opcode is equal to 111 in an instruction?

    <p>Control inspects bit in position 15 for instruction type</p> Signup and view all the answers

    What does the OUTR register hold?

    <p>Character for output device</p> Signup and view all the answers

    Which register holds the address of the next instruction in memory?

    <p>PC</p> Signup and view all the answers

    How many bits does the OUTR register hold?

    <p>8 bits</p> Signup and view all the answers

    What determines which register's output is placed on the bus lines in the common bus system?

    <p>Binary value of S2, S1, S0</p> Signup and view all the answers

    Which register holds intermediate data?

    <p>IR</p> Signup and view all the answers

    In the common bus system, what does the DR's output represent when S2S1S0 = 011?

    <p>3</p> Signup and view all the answers

    What is the purpose of the OUTR register in the context provided?

    <p>To store and transfer information from the printer serially.</p> Signup and view all the answers

    What is the initial state of the output flag FGO?

    <p>Set to 1</p> Signup and view all the answers

    What happens when the output flag FGO is cleared to 0?

    <p>A new character is loaded into OUTR</p> Signup and view all the answers

    Why does the computer not load a new character into OUTR when FGO is 0?

    <p>This signifies that the printer is still printing.</p> Signup and view all the answers

    What role does OUTR play during the output process?

    <p>Accepts and prints coded information from AC.</p> Signup and view all the answers

    How does the OUTR register differ from the INPR register in its function?

    <p>INPR works with keyboard input, OUTR works with printer output.</p> Signup and view all the answers

    Study Notes

    Registers

    • Accumulator (AC) is also called a processor register.
    • Instruction Register (IR) holds a 16-bit instruction.
    • Temporary Register (TR) holds intermediate or temporary data.

    12-bit Registers

    • Address Register (AR) holds an address for memory.
    • Program Counter (PC) holds the address of the next instruction in memory.

    8-bit Registers

    • Input Register (INPR) holds an 8-bit character from an input device.
    • Output Register (OUTR) holds an 8-bit character for an output device.

    Common Bus System

    • The outputs of seven registers and memory are connected to a common bus.
    • The specific output selected for the bus lines is determined by the binary value of the selection variables S2, S1, and S0.

    Register Reference Instructions

    • Register-reference instructions are recognized by the operation code 111 with a 0 in the leftmost bit (bit 15) of the instruction.
    • An operand from memory is not needed; therefore, the other 12 bits are used to specify the operation or test to be executed.

    Input-Output Instructions

    • Input-output instructions do not need a reference to memory and are recognized by the operation code 111 with a 1 in the leftmost bit of the instruction.
    • The remaining 12 bits are used to specify the type of input-output operation or test performed.

    Input Process

    • The input register INPR consists of eight bits and holds alphanumeric input information.
    • The 1-bit input flag FGI is a control flip-flop that is set to 1 when new information is available in the input device and is cleared to 0 when the information is accepted by the computer.

    Output Process

    • The output register OUTR works similarly to the input process, but the direction of information flow is reversed.
    • The output flag FGO is set to 1 initially, and the computer checks the flag bit; if it is 1, the information from AC is transferred into OUTR and FGO is cleared to 0.

    Studying That Suits You

    Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

    Quiz Team

    Description

    Learn about memory reference instructions for ADD operation and register reference instructions in computer architecture. Understand the format and characteristics of register reference instructions, which involve operations on the AC register without the need for memory operands.

    More Like This

    Use Quizgecko on...
    Browser
    Browser