Professional Documents
Culture Documents
Lab 1: Intel 8051 Cpu Programming Data Transfer Instructions
Lab 1: Intel 8051 Cpu Programming Data Transfer Instructions
QUESTION 1
The differences between Accumulator A and R0,R1 are both of R0 and R1 all the
data is stored in the bank but Accumulator A is not in the bank.
QUESTION 2
DPTR is an external memory that provide 16 bits which is higher than regular
memory which only store 8 bits memory.2004H is one of the 16 bits data.
QUESTION 3
The first command states that 2050H is an adresses that can store 21H and DPTR is
used to address the 2050H. For example, 2050H in DPTR act as an address that can
store many data.
QUESTION 4
The binary 11010011B is D3H in hexadecimal. This programme only can read in
hexadecimal form.
QUESTION 5
This command explained how to exchange data from one address to another
address. For example, R0 = 50H and A = 55H. Then, XCH command used to
exchange the data R0 to A. Therefore, the bank will display 55H at address R0.