Thursday, May 15, 2008

8085 interview questions

What is the difference between program counter and stack pointer?
What is the difference between data and address?
What are the difference between memory and memory location?

Program counter is a register which holds the address of next instruction when the current instruction is under execution while stack pointer is a pointer which points to the top element of the stack.
Data is a value which we use in the execution of instruction. Data value can be manipulated. while a address is the some constant value to a particular memory location which the help of address of memory location we can access the data present in the memory.
Memory is a data storage device which we use to store data while a memory location is a particular memory area where the data is stored using memory location.

No comments:

Contributors