Tue. Nov 11th, 2025

UNIT 1 – PART B (2 MARK QUESTIONS & ANSWERS)

1. What is the function of the PSW register in 8051?
Answer (English):
The Program Status Word (PSW) holds flag bits like Carry, Auxiliary Carry, Overflow, and Parity, which reflect the result of arithmetic or logical operations.

Answer (Tamil):
PSW (Program Status Word) பதிவு Arithmetic மற்றும் Logical operations செயல்பாடுகளின் முடிவுகளை காட்டும் Flags (Carry, Auxiliary Carry, Overflow, Parity) எனப்படும் bits-ஐ வைத்திருக்கும்.

2. What is the role of the Program Counter (PC) in 8051?
Answer (English):
The Program Counter holds the address of the next instruction to be executed, ensuring sequential program execution.

Answer (Tamil):
Program Counter (PC) அடுத்ததாக செயல்படுத்தப்படும் instruction-ன் மெமரி முகவரியை சேமித்து, நிரல் ஒழுங்காக செயல்படுவதை உறுதி செய்கிறது.

3. What are the functions of Stack Pointer?
Answer (English):
The Stack Pointer is an 8-bit register used to point the stack memory. It is incremented before data is stored during PUSH and CALL instructions.

Answer (Tamil):
Stack Pointer என்பது 8-bit பதிவு; இது Stack memory-யை சுட்டிக்காட்ட பயன்படுகிறது. PUSH அல்லது CALL instructions போது தரவு சேமிக்கப்படும் முன் இது ஒரு முறை அதிகரிக்கப்படுகிறது.

4. Define ALU.
Answer (English):
The ALU (Arithmetic and Logic Unit) in 8051 is an 8-bit unit that performs arithmetic and logical operations on 8-bit data.

Answer (Tamil):
ALU (Arithmetic and Logic Unit) என்பது 8-bit அலகு; இது 8-bit தரவுகளில் Arithmetic (கணித) மற்றும் Logical (தருக்க) செயல்பாடுகளை செய்கிறது.

5. What is a microcontroller? Give one example.
Answer (English):
A microcontroller is a single-chip computer integrating CPU, memory, and I/O peripherals. Example: 8051.

Answer (Tamil):
Microcontroller என்பது CPU, Memory, மற்றும் I/O Peripherals ஒரே chip-இல் இணைக்கப்பட்ட Mini Computer ஆகும். உதாரணம்: 8051 Microcontroller.

6. What is ALE in 8051 and why is it used?
Answer (English):
ALE (Address Latch Enable) is a control signal in 8051 used to demultiplex the lower-order address and data bus.

Answer (Tamil):
ALE (Address Latch Enable) என்பது 8051-இல் பயன்படும் control signal ஆகும்; இது கீழ்நிலை address bus மற்றும் data bus ஐ பிரித்து ( demultiplex ) அனுப்ப பயன்படுகிறது.

7. Compare Microprocessor and Microcontroller.
Answer (English):

  1. Microprocessor is called a computer on a chip, while Microcontroller is a true computer on a chip.
  2. Microprocessor is general-purpose; Microcontroller is special-purpose for control applications.

Answer (Tamil):
1️⃣ Microprocessor ஒரு chip-இல் சாதாரண computer போல் செயல்படும்; Microcontroller முழுமையான computer அலகு ஆகும்.
2️⃣ Microprocessor பொது பயன்பாட்டிற்காகவும், Microcontroller கட்டுப்பாட்டு செயல்பாடுகளுக்காகவும் பயன்படுகிறது.

8. List any four functional blocks of the 8051 microcontroller.
Answer (English):
CPU, ALU, RAM, ROM, Timers, I/O Ports, Serial Port, Interrupt Controller (any four).

Answer (Tamil):
8051-இன் முக்கிய செயல்பாட்டு பகுதிகள் CPU, ALU, RAM, ROM, Timers, I/O Ports, Serial Port மற்றும் Interrupt Controller ஆகும் (இதில் எந்த நான்கு மட்டும் போதும்).

9. Differentiate between Microprocessor and Microcontroller.
Answer (English):
Microprocessor has only a CPU and needs external memory and I/O.
Microcontroller integrates CPU, RAM, ROM, I/O Ports and Timers on a single chip.

Answer (Tamil):
Microprocessor-ல் CPU மட்டுமே உள்ளதால் memory மற்றும் I/O வெளியில் இணைக்க வேண்டும். Microcontroller-ல் CPU, RAM, ROM, I/O Ports, Timers எல்லாம் ஒரே chip-இல் இணைக்கப்பட்டுள்ளன.

10. Explain Serial Port.
Answer (English):
The Serial Port is full-duplex; it can transmit and receive data simultaneously. Both transmit and receive registers are accessed through the SFR named SBUF.

Answer (Tamil):
Serial Port full-duplex ஆக இருப்பதால் தரவை அனுப்பவும் பெறவும் ஒரே நேரத்தில் முடியும். Transmit மற்றும் Receive Registers இரண்டும் SBUF என்ற Special Function Register-இல் இணைக்கப்பட்டுள்ளன.

11. List the interrupts in 8051.
Answer (English):
i) External Interrupt 0 (INT0)
ii) Timer Interrupt 0 (TF0)
iii) External Interrupt 1 (INT1)
iv) Timer Interrupt 1 (TF1)
v) Serial Port Interrupt (TI + RI)

Answer (Tamil):
8051-இல் மொத்தம் 5 Interrupts உள்ளன – External Interrupt 0 மற்றும் 1, Timer Interrupt 0 மற்றும் 1, மற்றும் Serial Port Interrupt (TI + RI).

12. Compare Stack and Program Counter in 8051.
Answer (English):
Stack stores temporary data and return addresses. Program Counter always points to the next instruction address.

Answer (Tamil):
Stack தற்காலிக தரவு மற்றும் subroutine return address-ஐ சேமிக்கிறது; Program Counter அடுத்த instruction முகவரியை எப்போதும் சுட்டிக்காட்டுகிறது.

13. Define Stack.
Answer (English):
Stack is a RAM area used for temporary data storage. It is pointed by the 8-bit Stack Pointer register (SP).

Answer (Tamil):
Stack என்பது RAM-இல் தற்காலிக தரவு சேமிக்கப் பயன்படும் பகுதி; இதனை 8-bit Stack Pointer (SP) பதிவு சுட்டிக்காட்டுகிறது.

14. Explain PSW Register.
Answer (English):
PSW (Program Status Word) is an 8-bit, bit-addressable register that stores status flags like Carry, Auxiliary Carry, Overflow and Parity.

Answer (Tamil):
PSW என்பது 8-bit register; இது Carry, Auxiliary Carry, Overflow, Parity போன்ற status flags-ஐ சேமிக்கிறது.

15. Define Microcontroller.
Answer (English):
A Microcontroller is a VLSI-based IC containing CPU, RAM, ROM, I/O Ports, Timers and Interrupt controls on a single chip.

Answer (Tamil):
Microcontroller என்பது VLSI ( Very Large Scale Integration ) முறையில் உருவாக்கப்பட்ட IC; இதில் CPU, RAM, ROM, I/O Ports, Timers, Interrupt Controls என அனைத்தும் ஒரே chip-இல் இணைக்கப்பட்டுள்ளன.

16. Write down the functions of I/O Port.
Answer (English):
8051 has four 8-bit I/O ports (P0 – P3). Each port is bidirectional and has a latch, output driver and input buffer for data transfer.

Answer (Tamil):
8051-இல் நான்கு 8-bit I/O Ports (P0 முதல் P3 வரை) உள்ளன; ஒவ்வொன்றும் இருவழி செயல்பாடு செய்யக்கூடியது மற்றும் Latch, Output Driver, Input Buffer எனும் மூன்று பகுதிகளைக் கொண்டுள்ளது.

17. Write down the functions of Program Counter.
Answer (English):
Program Counter is a 16-bit register that holds the address of the next instruction to be executed.

Answer (Tamil):
Program Counter என்பது 16-bit register; அடுத்ததாக செயல்படுத்த வேண்டிய instruction-ன் முகவரியை இதில் சேமிக்கிறது.

18. Name any four SFRs used in 8051.
Answer (English):
ACC (Accumulator), PSW (Program Status Word), TCON (Timer Control), IE (Interrupt Enable).

Answer (Tamil):
8051-இல் பயன்படும் முக்கிய SFRs ஆகியவை – ACC (Accumulator), PSW, TCON மற்றும் IE Registers.

19. Analyze why 8051 is considered more efficient than a Microprocessor in embedded applications.
Answer (English):
Because 8051 integrates CPU, memory, and I/O on a single chip, reducing size, cost and power consumption.

Answer (Tamil):
8051 Microcontroller-ல் CPU, Memory மற்றும் I/O அனைத்தும் ஒரே chip-இல் இணைக்கப்பட்டதால் அது சிறிய அளவில், குறைந்த செலவில் மற்றும் குறைந்த மின்சார நுகர்வில் செயல்படுகிறது.

20. Explain the function of the ALU in 8051.
Answer (English):
The Arithmetic Logic Unit (ALU) performs arithmetic operations (addition, subtraction) and logic operations (AND, OR, NOT, compare) on data.

Answer (Tamil):
8051-இல் ALU அலகு தரவு மீது Addition, Subtraction போன்ற Arithmetic செயல்பாடுகள் மற்றும் AND, OR, NOT, Compare போன்ற Logical செயல்பாடுகளை செய்கிறது.