0% found this document useful (0 votes)
36 views

Multiplication of Two 8 Bit Numbers

This program multiplies two 8-bit numbers (35 and 40) stored in registers A and B using the MUL AB instruction. It stores the 16-bit product in registers A and B, and then saves the results to memory locations 4500 and 4501. The program loops continuously to perform this multiplication and storage repeatedly.

Uploaded by

anandhkr
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views

Multiplication of Two 8 Bit Numbers

This program multiplies two 8-bit numbers (35 and 40) stored in registers A and B using the MUL AB instruction. It stores the 16-bit product in registers A and B, and then saves the results to memory locations 4500 and 4501. The program loops continuously to perform this multiplication and storage repeatedly.

Uploaded by

anandhkr
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

3.

MULTIPLICATION OF TWO 8 BIT NUMBERS


PROGRAM
ADDRESS
4100
4101
4103
4106
4107
410A
410B
410C
410E
410F

LABLE

L1:

MNEMONICS &
OPERAND
CLR C
MOV A, #35
MOV B,#40
MUL AB
MOV DPTR, #4500
MOV X@ DPTR,A
INC DPTR
MOV A,B
MOV X@ DPTR,A
SJMP L1

OPCODE
C3
74,35
75,F0,40
A4
90,45,00
F0
A3
E5,F0
F0
80,FE

You might also like