JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD B.Tech II Year COMPUTER ORGANIZATION AND MICROPROCESSOR Previous Question Paper (August/September - 2022 - R18)
Answer any five questions. All questions carry equal marks.
Main
Differentiate between computer organization and computer architecture.
Answer
Computer architecture refers to the conceptual design and fundamental operational structure of a computer system, focusing on the attributes visible to a programmer, such as instruction sets, addressing modes, and data types. In contrast, computer organization refers to the operational units and their interconnections that realize the architectural specifications, focusing on hardware details like control signals, memory technology, and physical interfaces.
| Feature | Computer Architecture | Computer Organization |
|---|---|---|
| Definition | Conceptual structure and functional behavior. | Physical arrangement and implementation. |
| Focus | What the system does (logical). | How the system does it (physical). |
| Visibility | Visible to the programmer. | Transparent to the programmer. |
| Components | Instruction set, data formats, addressing. | Circuit design, signals, peripherals. |
| Change | Changes rarely; defines the platform. | Changes frequently with technology. |
What are the important registers of a computer? Discuss their usage.
Answer
Registers are high-speed storage locations within the CPU used to hold data, instructions, and addresses during processing. The most important registers include:
- Program Counter (PC): Holds the memory address of the next instruction to be fetched for execution.
- Instruction Register (IR): Stores the instruction currently being decoded and executed by the control unit.
- Memory Address Register (MAR): Holds the address of the memory location from which data is to be read or to which data is to be written.
- Memory Data Register (MDR): Acts as a buffer to hold data being transferred between the CPU and memory.
- Accumulator (AC): A general-purpose register used to store the intermediate results of arithmetic and logical operations performed by the ALU.
- Stack Pointer (SP): Points to the top of the current stack in memory, essential for handling subroutines and interrupts.
- Status Register (Flags): Contains bits that indicate the current state of the processor, such as zero, carry, overflow, and negative flags resulting from an operation.
What is an interrupt? Explain its role in input-output.
Answer
Sign in to view the complete answer paper.
Describe address sequencing in micro programmed control unit.
Answer
Sign in to view the complete answer paper.
With a neat diagram describe the functional architecture of 8086 in detail.
Answer
Sign in to view the complete answer paper.
Provide read cycle and write cycle timing diagrams for minimum mode of 8086.
Answer
Sign in to view the complete answer paper.
Discuss various Assembler directives available in 8086 programming.
Answer
Sign in to view the complete answer paper.
How to push and pop contents to stack memory? Explain with necessary code.
Answer
Sign in to view the complete answer paper.
Write an assembly language program to sort the list of ten 8-bit numbers stored sequentially in the memory locations starting at offset 0100H in the segment 2000H.
Answer
Sign in to view the complete answer paper.
Explain the steps involved in executing an assembly language program.
Answer
Sign in to view the complete answer paper.
Write a program to convert a BCD number into an equivalent binary number.
Answer
Sign in to view the complete answer paper.
How to pass parameters to procedures in assembly language programming?
Answer
Sign in to view the complete answer paper.
Demonstrate Booth’s algorithm for multiplication of signed magnitude numbers.
Answer
Sign in to view the complete answer paper.
Describe the working methodology of direct memory access controller.
Answer
Sign in to view the complete answer paper.
Discuss the organization of main memory with RAM and ROM chips.
Answer
Sign in to view the complete answer paper.
What are the hazards for instruction pipeline? How to handle these hazards? Explain with examples.
Answer
Sign in to view the complete answer paper.