You have no items in your shopping cart.

Subtotal: 0.00

Multiplication of two numbers using 8085

8-BIT MULTIPLICATION
AIM

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

THEORY

In this experiment, the HL register pair is first initialized to the start address of memory at which the data is stored. Then data is brought to accumulator A and the other one is multiplied from memory itself. The result from A is then stored into memory again using the HL register.

ASSEMBLY PROGRAM TO MULTIPLY TWO 8 BIT NUMBER

ADDRESS

OPCODE

MNEMONICS

8100

3A 00 85

LDA 8500

8103

47

MOV B,A

8104

3A 01 85

LDA 8501

8107

4F

MOV C,A

8108

FE 00

CPI 00

810A

CA 16 81

JZ 8116

810D

AF

XRA A

810E

80

ADD B

810F

OD

DCR C

8110

CA 16 81

JZ 8116

8113

C3 0E 81

JMP 810E

8116

32 02 85

STA 8502

8119

CF

RST 1


PROCEDURE
  • Key in the opcodes from the address specified.
  • Enter data that is needed for execution at 8500 and 8501.
  • Execute the program and check for results at 8502.
EXAMPLE

Let the data to be multiplied be 2 from 9.
DATA: (8500) = 2
(8501) = 9
RESULT: (8502) = 18

RESULT

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