EXP 1 - MC
EXP 1 - MC
1
WRITE AND EXECUTE AN ASSEMBLY LANGUAGE PROGRAM TO
PERFORM ADDITION, SUBTRACTION, MULTIPLICATION &
DIVISION OPERATION OF TWO 8 BIT NUMBERS USING 8051 AND
KEIL SOFTWARE
AIM: - Write and execute an assembly language program for addition of two 8
bit numbers using 8051
OBJECTIVE:
· Students will be able to write program for performing addition operation for
two 8 bit numbers using 8051 Microcontroller and keil IDE.
· Students will be able to verify the result of addition along with the status of
flag bits in the PSW register.
· Students will be able to learn the Keil software and simulation.
ALGORITHM:
1. Load the two 8-bit numbers in the memory/registers
2. Perform arithmetic operations
3. Check the result
THEORY:
1. DPTR (data pointer ) which is of the 16 bit and consists of DPH and
DPL
PROGRAM:
1.Performing addition operation
`Address:OPCODE INSTRUCTIONS COMMENTS