You are on page 1of 7

ECE 521

LAB 1: Intel 8051 CPU PROGRAMMING


DATA TRANSFER INSTRUCTIONS

MEMBERS: WAN MUHAMMAD ZAFRI BIN WAN


YAHAYA
MUHAMAD FARED BIN SAAD
AIDIL ARIF BIN ABDUL MALEL
IZZAT MUNAWWIR BIN ISMAIL

LECTURER: PN. NAIMAH BT. MAT ISA

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.

You might also like