8051 की पेरिफेरल इंटरफ़ेसिंग के संबंध में निम्नलिखित कथनों पर विचार कीजिए:
1. 8051 कई इंटरप्ट स्रोतों को सपोर्ट करता है।
2. इंटरप्ट को सक्षम/अक्षम किया जा सकता है।
3. इंटरप्ट प्राथमिकता कॉन्फ़िगर की जा सकती है।
उपरोक्त में से कौन-सा/से कथन सही है/हैं?
उत्तर और चरणबद्ध हल
A — उपरोक्त सभी। 8051 में पाँच इंटरप्ट स्रोत (INT0, T0, INT1, T1, सीरियल) हैं; IE रजिस्टर से इन्हें सक्षम/अक्षम और IP रजिस्टर से प्राथमिकता तय की जाती है।
विस्तृत हल (मूल भाषा में)
Statement-wise Verification
- Statement 1 - Correct.
8051 supports multiple interrupt sources.
The standard core has 4 KB on-chip program ROM and 128 bytes internal RAM, supports external memory, multiple interrupts and configurable interrupt priority. - Statement 2 - Correct.
Interrupts can be enabled/disabled.
The standard core has 4 KB on-chip program ROM and 128 bytes internal RAM, supports external memory, multiple interrupts and configurable interrupt priority. - Statement 3 - Correct.
Interrupt priority can be configured.
The standard core has 4 KB on-chip program ROM and 128 bytes internal RAM, supports external memory, multiple interrupts and configurable interrupt priority.
Core Concept
The classic 8051 is an 8-bit Harvard-style microcontroller with separate code and data spaces. The standard core has 4 KB on-chip program ROM and 128 bytes internal RAM, supports external memory, multiple interrupts and configurable interrupt priority. On reset the stack pointer is 07H, so the first PUSH stores at 08H.
Formula / Key Relationship
Reset SP=07H; classic internal RAM=128 bytes; standard ROM=4 KB.
Why the Other Options Are Wrong
Option B is incorrect because it omits correct statement(s) 1. Option C is incorrect because it omits correct statement(s) 2. Option D is incorrect because it omits correct statement(s) 3.
Exam Shortcut / Approach
Remember 07H for stack pointer reset.
Common Mistake
00H is not the reset value of the 8051 stack pointer.
Quick Revision
Interrupt Enable and Priority is linked with Interrupts, 8051 Microcontroller and Microprocessors and Microcontrollers. Remember 07H for stack pointer reset.
Consider the following statements regarding 8051 interfacing to peripherals:
1. 8051 supports multiple interrupt sources.
2. Interrupts can be enabled/disabled.
3. Interrupt priority can be configured.
Which of the above statements is/are correct?
Answer & step-by-step solution
The classic 8051 is an 8-bit Harvard-style microcontroller with separate code and data spaces. The standard core has 4 KB on-chip program ROM and 128 bytes internal RAM, supports external memory, multiple interrupts and configurable interrupt priority. Key relation: Reset SP=07H; classic internal RAM=128 bytes; standard ROM=4 KB.
Exam focus: Remember 07H for stack pointer reset. Common trap: 00H is not the reset value of the 8051 stack pointer.
Statement-wise Verification
- Statement 1 - Correct.
8051 supports multiple interrupt sources.
The standard core has 4 KB on-chip program ROM and 128 bytes internal RAM, supports external memory, multiple interrupts and configurable interrupt priority. - Statement 2 - Correct.
Interrupts can be enabled/disabled.
The standard core has 4 KB on-chip program ROM and 128 bytes internal RAM, supports external memory, multiple interrupts and configurable interrupt priority. - Statement 3 - Correct.
Interrupt priority can be configured.
The standard core has 4 KB on-chip program ROM and 128 bytes internal RAM, supports external memory, multiple interrupts and configurable interrupt priority.
Core Concept
The classic 8051 is an 8-bit Harvard-style microcontroller with separate code and data spaces. The standard core has 4 KB on-chip program ROM and 128 bytes internal RAM, supports external memory, multiple interrupts and configurable interrupt priority. On reset the stack pointer is 07H, so the first PUSH stores at 08H.
Formula / Key Relationship
Reset SP=07H; classic internal RAM=128 bytes; standard ROM=4 KB.
Why the Other Options Are Wrong
Option B is incorrect because it omits correct statement(s) 1. Option C is incorrect because it omits correct statement(s) 2. Option D is incorrect because it omits correct statement(s) 3.
Exam Shortcut / Approach
Remember 07H for stack pointer reset.
Common Mistake
00H is not the reset value of the 8051 stack pointer.
Quick Revision
Interrupt Enable and Priority is linked with Interrupts, 8051 Microcontroller and Microprocessors and Microcontrollers. Remember 07H for stack pointer reset.
8051ના પેરિફેરલ ઇન્ટરફેસિંગ અંગે નીચેનાં વિધાનો ધ્યાનમાં લો:
1. 8051 ઘણા ઇન્ટરપ્ટ સ્રોતોને સપોર્ટ કરે છે.
2. ઇન્ટરપ્ટને સક્ષમ/અક્ષમ કરી શકાય છે.
3. ઇન્ટરપ્ટ પ્રાથમિકતા ગોઠવી શકાય છે.
ઉપરોક્તમાંથી કયું/કયાં વિધાન સાચું/સાચાં છે?
જવાબ અને પગલાવાર ઉકેલ
A — ઉપરોક્ત તમામ. 8051માં પાંચ ઇન્ટરપ્ટ સ્રોત (INT0, T0, INT1, T1, સીરિયલ) છે; IE રજિસ્ટરથી તેમને સક્ષમ/અક્ષમ અને IP રજિસ્ટરથી પ્રાથમિકતા નક્કી થાય છે.
વિગતવાર ઉકેલ (મૂળ ભાષામાં)
Statement-wise Verification
- Statement 1 - Correct.
8051 supports multiple interrupt sources.
The standard core has 4 KB on-chip program ROM and 128 bytes internal RAM, supports external memory, multiple interrupts and configurable interrupt priority. - Statement 2 - Correct.
Interrupts can be enabled/disabled.
The standard core has 4 KB on-chip program ROM and 128 bytes internal RAM, supports external memory, multiple interrupts and configurable interrupt priority. - Statement 3 - Correct.
Interrupt priority can be configured.
The standard core has 4 KB on-chip program ROM and 128 bytes internal RAM, supports external memory, multiple interrupts and configurable interrupt priority.
Core Concept
The classic 8051 is an 8-bit Harvard-style microcontroller with separate code and data spaces. The standard core has 4 KB on-chip program ROM and 128 bytes internal RAM, supports external memory, multiple interrupts and configurable interrupt priority. On reset the stack pointer is 07H, so the first PUSH stores at 08H.
Formula / Key Relationship
Reset SP=07H; classic internal RAM=128 bytes; standard ROM=4 KB.
Why the Other Options Are Wrong
Option B is incorrect because it omits correct statement(s) 1. Option C is incorrect because it omits correct statement(s) 2. Option D is incorrect because it omits correct statement(s) 3.
Exam Shortcut / Approach
Remember 07H for stack pointer reset.
Common Mistake
00H is not the reset value of the 8051 stack pointer.
Quick Revision
Interrupt Enable and Priority is linked with Interrupts, 8051 Microcontroller and Microprocessors and Microcontrollers. Remember 07H for stack pointer reset.