How to read data from ROM in assembly

There is a difference between getting or reading data from RAM and ROM incase of assembly language. It is also known as index addressing mode for program memory. Usually programs are stored in ROM. So that program memory is in ROM.

MOV A, B     ==> this will read from RAM
MOVC A, @A+DPTR  ==> Read from ROM

Here C, denotes for Code memory