You have no items in your shopping cart.

Subtotal: 0.00

8-BIT MULTIPLICATION

AIM

To perform 8-bit multiplication of two 8-bit data using immediate addressing and store the result in memory.

THEORY

In this Experiment the Multiplicand Data is entered in B register and the Multiplier Value is entered in Accumulator Data Register, Using indirect addressing multiplication of two 8-bit data is stored in Resultant address

GIVE INPUT TO THIS LOCATION:
8600 - Multiplicand
8601 – Multiplier
RESULT ADDRESS:
8700

ASSEMBLY PROGRAM TO MULTIPLY TWO 8 BIT NUMBER


MEMORY ADDRESS

OPCODES

MNEMONICS

8500

90 86 00

MOV DPTR,#8600H

8503

E0

MOVX A,@DPTR

8504

F5 F0

MOV B,A

8506

90 86 01

MOV DPTR,#8601H

8509

E0

MOVX A,@DPTR

850A

A4

MUL AB

850B

90 87 01

MOV DPTR,#8701H

850E

F0

MOVX @DPTR,A

850F

90 87 00

MOV DPTR,#8700H

8512

E5 F0

MOV A,B

8514

F0

MOVX @DPTR,A

8515

80 FE

E: SJMP E


PROCEDURE

☞Enter the input data in memory location 8600 to 8601.

☞Enter the above opcodes from 8500.

☞Execute the program.

☞Result stored in 8700 & 8701. Change data and check result in 8700, 8701.

RESULT

Thus the multiplication of two 8 bit numbers is stored in the resultant memory.