Difficulty: Easy
Correct Answer: external code memory
Explanation:
Introduction / Context:The EA (External Access) pin selects the code fetch source on classic 8051 devices. Correct interpretation of EA at reset is vital for systems using external ROM/Flash for program storage.
Given Data / Assumptions:
Concept / Approach:EA = 0 forces all code fetches to external code memory, ignoring internal program memory even if present. At reset, the Program Counter is 0000H, so the first opcode is read at external address 0000H via /PSEN and the external bus.
Step-by-Step Solution:
Condition: EA = 0 ⇒ code fetch from external memoryReset vector: PC = 0000HTherefore: first instruction comes from external code memory at 0000HVerification / Alternative check:With EA = 1, internal code memory (if implemented) is used up to its size; external fetch occurs when exceeding it. EA = 0 disables internal code fetch altogether, confirming the answer.
Why Other Options Are Wrong:
Common Pitfalls:
Final Answer:external code memory
Discussion & Comments