JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD B.Tech II COMPUTER ORGANIZATION Previous Question Paper (July/August - 2021 - R16)

B.Tech | II | II | R16 | July/August - 2021

Answer PaperPaper Code: 134AKMaximum Marks: 75Time: 3 Hours

Answer any five questions. All questions carry equal marks.

Main

1

Draw the block diagram of the microprogram sequencer for a control memory and explain its operations in detail.

15 marks

Answer

A microprogram sequencer is a functional unit that determines the address of the next microinstruction to be executed in the control memory. It generates the address based on the current microinstruction, status flags, and external inputs, ensuring the correct sequence of control signals is generated for the processor.

The block diagram of a microprogram sequencer typically consists of the following components:

  • Multiplexer (MUX): Selects the next address from various sources: the incremented address, a branch address from the microinstruction, or an address from the stack.
  • Control Address Register (CAR): Holds the address of the microinstruction currently being read from the control memory.
  • Incrementer: Increments the CAR value to point to the next sequential microinstruction.
  • Subroutine Register/Stack: Stores return addresses when a micro-subroutine is called.
  • Status Bits: External inputs (like zero, carry, or sign flags) that influence conditional branching.
Next Address = f(CAR, Instruction Register, Status Flags, Stack)

Operational Details:

  • Sequential Execution: The sequencer normally increments the CAR by 1 to fetch the next instruction in the control store.
  • Conditional Branching: The sequencer uses status bits to test conditions. If a condition is met, the MUX selects the branch address provided by the microinstruction field.
  • Subroutine Calls: When a micro-subroutine is invoked, the current incremented address is pushed onto the stack, and the CAR is loaded with the subroutine's entry point.
  • Return from Subroutine: Upon completing the subroutine, the address stored at the top of the stack is popped back into the CAR to resume execution from the calling point.

By managing these transitions, the microprogram sequencer acts as the 'program counter' for the control unit, effectively controlling the flow of micro-operations that execute machine-level instructions.

2

A digital computer has a memory unit with a capacity of 16384 words 40 bits per word. The instruction code format consists of six bits for the operation part and 14 bits for the address part. Two instructions are packed in one memory word, and a 40-bit instruction register IR is available in the control unit. Formulate a procedure for fetching and executing instructions for this computer.

15 marks

Answer

To manage the memory and instruction architecture described, we must first analyze the memory organization and instruction format:

  • Memory Capacity: 16,384 words = 214 words. This requires a 14-bit address bus to address each unique memory location.
  • Word Size: 40 bits per word.
  • Instruction Format: Each instruction consists of 6 bits (Opcode) + 14 bits (Address) = 20 bits total.
  • Packing: Since each word is 40 bits and each instruction is 20 bits, exactly two instructions fit into a single memory word.

The instruction execution procedure is governed by the Program Counter (PC), which must be able to track both the memory word address and the specific instruction half (left or right) within that word. A 15-bit PC is required: 14 bits for the memory address and 1 bit to indicate the instruction half (0 for the first 20 bits, 1 for the second 20 bits).

The fetch and execute cycle follows these steps:

  1. Fetch Phase:
    The control unit places the 14-bit address from the PC onto the address bus. The memory unit reads the 40-bit word into the Memory Buffer Register (MBR).
  2. Instruction Selection:
    Based on the 15th bit of the PC, the control unit selects either the upper 20 bits or the lower 20 bits of the MBR and transfers them into the Instruction Register (IR).
  3. PC Update:
    The PC is incremented. If the current instruction was the first half (bit 14=0), the PC bit 14 is toggled to 1. If it was the second half (bit 14=1), the 14-bit address portion is incremented by 1 and the 15th bit is reset to 0.
  4. Decode Phase:
    The 6-bit opcode in the IR is sent to the Instruction Decoder to determine the required control signals for the operation.
  5. Effective Address Calculation:
    The 14-bit address field of the IR is used to access the operand memory location if the instruction requires memory reference.
  6. Execution Phase:
    The control unit generates the sequence of micro-operations corresponding to the decoded opcode. The Arithmetic Logic Unit (ALU) performs the necessary data manipulation, and the result is stored in the Accumulator (AC) or the specified memory location.

This procedure ensures that the 40-bit word capacity is fully utilized by treating the 15th bit of the PC as a pointer to the specific 20-bit instruction segment within the word.

3

Explain the 8086 Processor Architecture.

15 marks

Answer

Sign in to view the complete answer paper.

4

Draw and discuss a typical minimum mode of 8086 system.

15 marks

Answer

Sign in to view the complete answer paper.

5

Elaborate the stack structure of the 8086.

15 marks

Answer

Sign in to view the complete answer paper.

6

Describe the procedure for coding the intersegment and intersegment jump and call instructions.

15 marks

Answer

Sign in to view the complete answer paper.

7

How many characters per second can be transmitted over a 1200 baud line in each of the following modes?

15 marks
a
Synchronous serial transmission
5 marks

Answer

Sign in to view the complete answer paper.

b
Asynchronous serial transmission with two stop bits.
5 marks

Answer

Sign in to view the complete answer paper.

c
Asynchronous serial transmission with one-stop bits
5 marks

Answer

Sign in to view the complete answer paper.

8

Answer the following:

15 marks
a
Multiprocessing can improve performance by decomposing a program into parallel executable tasks. Explain how this is achieved.
8 marks

Answer

Sign in to view the complete answer paper.

b
What is associative memory? Why is it faster than the main memory? Explain its hardware organization in detail.
7 marks

Answer

Sign in to view the complete answer paper.

About this paper

This page contains the question paper of COMPUTER ORGANIZATION from JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD for B.Tech CSE II II, July/August - 2021, R16.

For the solved question paper with answers, switch to the Answer Paper tab.

Other papers in COMPUTER ORGANIZATION

Loading Question Papers

Fetching data from database...