Consider the following statements regarding Stack in 8051:1.Stack operates on LIFO principle.2.PUSH increases stack pointer.3.POP decreases stack pointer.Which of the above statements is/are correct?
⚑ Report issue
Found a wrong answer, translation, image or source problem? Send it to editorial review.
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.
Formula / Key Relation
Reset SP=07H; classic internal RAM=128 bytes; standard ROM=4 KB.
Detailed Explanation
Correct Answer: D - 1, 2 and 3 Quick Concept Explanation 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.Stack operates on LIFO principle.Remember 07H for stack pointer reset. Statement 2 - Correct.PUSH increases stack pointer.On reset the stack pointer is 07H, so the…
Correct Answer: D - 1, 2 and 3
Quick Concept Explanation
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. Stack operates on LIFO principle. Remember 07H for stack pointer reset.
Statement 2 - Correct. PUSH increases stack pointer. On reset the stack pointer is 07H, so the first PUSH stores at 08H.
Statement 3 - Correct. POP decreases stack pointer. Remember 07H for stack pointer reset.
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 A is incorrect because it omits correct statement(s) 3. Option B is incorrect because it omits correct statement(s) 1. Option C is incorrect because it omits correct statement(s) 2.
Exam Shortcut / Approach
Remember 07H for stack pointer reset.
Common Mistake
00H is not the reset value of the 8051 stack pointer.
Quick Revision
PUSH POP and Stack Pointer is linked with Stack, 8051 Microcontroller and Microprocessors and Microcontrollers. Remember 07H for stack pointer reset.
Quick Trick
Remember 07H for stack pointer reset.
Why Other Options Are Wrong
Option A is incorrect because it omits correct statement(s) 3. Option B is incorrect because it omits correct statement(s) 1. Option C is incorrect because it omits correct statement(s) 2.
Common Mistake
00H is not the reset value of the 8051 stack pointer.
Exam Tip
Remember 07H for stack pointer reset.
SEO + Knowledge GraphRelated PYQs & Exam ContextExam path, knowledge path and deeper practice links.