This question was asked inGPSC Deputy Executive Engineer (Electrical) Class-2 Master Paper 2026Question 133 of 195 published · Gujarat Public Service CommissionOpen paper
Q133Easy8051 Microcontroller

Consider the following statements regarding 8051 instructions:
1. MOV instruction transfers data between registers/memory.
2. ADD instruction affects flags.
3. INC instruction affects carry flag.
Which of the above statements is/are correct?

Answer & step-by-step solution
Correct answer: C. 1 and 2 only
Quick explanation

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.

Reset SP=07H; classic internal RAM=128 bytes; standard ROM=4 KB.

Statement-wise Verification

  • Statement 1 - Correct.
    MOV instruction transfers data between registers/memory.
    The classic 8051 is an 8-bit Harvard-style microcontroller with separate code and data spaces.
  • Statement 2 - Correct.
    ADD instruction affects flags.
    Remember 07H for stack pointer reset.
  • Statement 3 - Incorrect.
    INC instruction affects carry flag.
    8051 INC does not affect the carry flag

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) 2. Option B is incorrect because it includes incorrect statement(s) 3 and omits correct statement(s) 1. 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

MOV ADD and INC Flag Effects is linked with Instruction Set, 8051 Microcontroller and Microprocessors and Microcontrollers. Remember 07H for stack pointer reset.

Exam tipRemember 07H for stack pointer reset.
Verified · SRO editorial desk Report
Try it before reading the solution — tap an option.0/1✓ 0✗ 0

More 8051 Microcontroller questions