BCAA-1203 Detailed Answers
BCAA-1203 Detailed Answers
Q2. What is the difference between direct and indirect address instructions?
Direct Addressing: The operand is directly specified in the instruction.
Indirect Addressing: The instruction gives the address of a memory location which holds
the actual address of the operand.
Q5. What is the difference between main memory and control unit?
Main Memory (RAM): Stores data and instructions currently in use.
Control Unit: Directs the operation of the processor, fetching and decoding instructions.
Q13. Draw and explain the block diagram of hardwired control unit.
The control unit uses fixed logic circuits (flip-flops, gates) to generate control signals. It is
fast but not flexible.
Q14. What is cache memory? Discuss its structure and features.
Cache memory is a small, fast memory between CPU and RAM.
Structure: CPU <-> Cache <-> Main Memory
Features: High speed, stores frequently accessed data, uses LRU or FIFO replacement
policies.
Q16. Draw and explain the block diagram of Direct Memory Access (DMA) along
with their advantages and disadvantages.
Block Diagram: CPU <-> DMA Controller <-> Memory
Advantages:
- Reduces CPU overhead
- High-speed data transfer
Disadvantages:
- Hardware complexity
- Potential memory conflicts
Q17. What is address mode? Explain various addressing modes with suitable
example.
Addressing modes define how operands are chosen.
- Immediate: Operand is in the instruction. e.g., MOV A, #5
- Direct: Address of operand is given. e.g., MOV A, 5000
- Indirect: Address points to another address.
- Indexed: Uses base address + offset.
- Register: Operand is in register.