0% found this document useful (0 votes)
17 views

Memory Interfacing

Uploaded by

abinayasuresh135
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views

Memory Interfacing

Uploaded by

abinayasuresh135
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 9

External Memory Interfacing in 8051 Microcontroller

• Why need External Memory Interfacing in 8051 Microcontroller ?


• Limited internal memory
• Larger programs
• Data storage
• Flexibility
• Cost-effective
EXTERNAL PROGRAM MEMORY
Instructions to Access External ROM /
Program Memory

Mnemonic Operation

MOVC A, @ A+DPTR Copy the contents of the external ROM address formed by
adding A and the DPTR, to A

MOVC A, @ A + PC This operation will do copy This operation contents of the


external ROM address formed by adding A and the PC, to A.
Instructions to Access External Data
Memory

Mnemonic Operation

MOVX A, @Rp In this operation, it will copy the contents of the external
address in Rp to A.

MOVX A. @DPTR Copy the contents of the external address in DPTR to A.

MOVX @Rp. A Copy data from A to the external address in Rp

MOVX DPTR, A Copy data from A to the external address in DPTR.

You might also like