You are on page 1of 1

EXPT NO 1

ARITHMETIC OPERATIONS USING 8085

AIM: To write assembly language programs for performing the following arithmetic operations using 8085 microprocessor: a) 16 bit binary addition. b) 16 bit binary subtraction. c) 8 bit binary multiplication. d) 8 bit binary division.

APPARATUS REQUIRED: 8085 Microprocessor Kit, Power Chord 16-BIT ADDITION: ALGORITHM: Step1: Start the program. Step2: Load 16 bit data in HL pair and move data 00H to C register. Step3: Exchange data from HL pair to DE pair. Step4: Load another 16 bit data in HL pair. Step5: Add HL pair and DE pair contents and store the result in HL pair. Step6: If carry present Increment the content of CX register once else leave it as it is. Step7: Store data in HL pair to specified memory. Step8: Move data from C register to accumulator. Step9: Store the accumulator data in specified memory. Step10: End.

You might also like