निम्नलिखित कथनों पर विचार कीजिए:
1. एक्युमुलेटर का उपयोग अंकगणितीय और तार्किक संक्रियाओं के लिए होता है।
2. प्रोग्राम काउंटर अगले निर्देश का एड्रेस रखता है।
3. 8051 माइक्रोकंट्रोलर में रीसेट पर स्टैक पॉइंटर 00H को इंगित करता है।
उपरोक्त में से कौन-सा/से कथन सही है/हैं?
उत्तर और चरणबद्ध हल
A — केवल 1 और 2। एक्युमुलेटर ALU संक्रियाओं में उपयोग होता है और PC अगले निर्देश का एड्रेस रखता है। 8051 में रीसेट पर SP = 07H होता है, 00H नहीं — इसलिए कथन 3 गलत है।
विस्तृत हल (मूल भाषा में)
Statement-wise Verification
- Statement 1 - Correct.
Accumulator is used for arithmetic and logic operations.
Remember 07H for stack pointer reset. - Statement 2 - Correct.
Program Counter holds the address of next instruction.
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 - Incorrect.
Stack Pointer points to 00H on reset in 8051 Microcontroller.
The classic 8051 stack pointer resets to 07H
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 includes incorrect statement(s) 3 and omits correct statement(s) 1. Option C is incorrect because it includes incorrect statement(s) 3 and omits correct statement(s) 2. Option D is incorrect because it includes incorrect 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
Accumulator Program Counter and Stack Pointer is linked with CPU Registers, 8051 Microcontroller and Microprocessors and Microcontrollers. Remember 07H for stack pointer reset.
Consider the following statements:
1. Accumulator is used for arithmetic and logic operations.
2. Program Counter holds the address of next instruction.
3. Stack Pointer points to 00H on reset in 8051 Microcontroller.
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. On reset the stack pointer is 07H, so the first PUSH stores at 08H. 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.
Accumulator is used for arithmetic and logic operations.
Remember 07H for stack pointer reset. - Statement 2 - Correct.
Program Counter holds the address of next instruction.
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 - Incorrect.
Stack Pointer points to 00H on reset in 8051 Microcontroller.
The classic 8051 stack pointer resets to 07H
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 includes incorrect statement(s) 3 and omits correct statement(s) 1. Option C is incorrect because it includes incorrect statement(s) 3 and omits correct statement(s) 2. Option D is incorrect because it includes incorrect 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
Accumulator Program Counter and Stack Pointer is linked with CPU Registers, 8051 Microcontroller and Microprocessors and Microcontrollers. Remember 07H for stack pointer reset.
નીચેનાં વિધાનો ધ્યાનમાં લો:
1. એક્યુમ્યુલેટરનો ઉપયોગ અંકગણિત અને તાર્કિક ક્રિયાઓ માટે થાય છે.
2. પ્રોગ્રામ કાઉન્ટર આગામી સૂચનાનું એડ્રેસ રાખે છે.
3. 8051 માઇક્રોકંટ્રોલરમાં રીસેટ પર સ્ટેક પોઇન્ટર 00H દર્શાવે છે.
ઉપરોક્તમાંથી કયું/કયાં વિધાન સાચું/સાચાં છે?
જવાબ અને પગલાવાર ઉકેલ
A — ફક્ત 1 અને 2. એક્યુમ્યુલેટર ALU ક્રિયાઓમાં વપરાય છે અને PC આગામી સૂચનાનું એડ્રેસ રાખે છે. 8051માં રીસેટ પર SP = 07H હોય છે, 00H નહીં — તેથી વિધાન 3 ખોટું છે.
વિગતવાર ઉકેલ (મૂળ ભાષામાં)
Statement-wise Verification
- Statement 1 - Correct.
Accumulator is used for arithmetic and logic operations.
Remember 07H for stack pointer reset. - Statement 2 - Correct.
Program Counter holds the address of next instruction.
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 - Incorrect.
Stack Pointer points to 00H on reset in 8051 Microcontroller.
The classic 8051 stack pointer resets to 07H
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 includes incorrect statement(s) 3 and omits correct statement(s) 1. Option C is incorrect because it includes incorrect statement(s) 3 and omits correct statement(s) 2. Option D is incorrect because it includes incorrect 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
Accumulator Program Counter and Stack Pointer is linked with CPU Registers, 8051 Microcontroller and Microprocessors and Microcontrollers. Remember 07H for stack pointer reset.