Difficulty: Easy
Correct Answer: internal code memory
Explanation:
Introduction / Context:The EA pin determines whether code fetches are from on-chip ROM/Flash or from external program memory when the address is within the internal block. Understanding reset behavior and the reset vector is a core 8051 concept.
Given Data / Assumptions:
Concept / Approach:When EA is HIGH during reset, the CPU fetches the first instruction from internal code memory at 0000H (if present). Subsequent fetches within the internal code range also come from internal memory unless accesses exceed the internal range, where external fetch may occur in some derivatives.
Step-by-Step Solution:
1) Assert reset; PC loads 0000H.2) EA = HIGH → select on-chip code for base addresses.3) CPU fetches the first opcode from internal code memory at 0000H.4) Execution proceeds from internal memory unless configured otherwise.Verification / Alternative check:Datasheets specify EA behavior and the reset vector mapping explicitly.
Why Other Options Are Wrong:
Common Pitfalls:Confusing EA pin function with the PSEN pin or with data memory spaces.
Final Answer:internal code memory
Discussion & Comments