s v i e t k a n u r u .t k
MULTIPLICATION OF TWO 8 -- BIT NUMBERS
AIM:
To perform multiplication of two 8 -- bit numbers using 8051 instruction set.
ALGORITHM:
1.
Get the data in A -- reg.2.
Get the value to be multiplied in B -- reg.3.
Multiply the two data4.
The higher order of the result is in B -- reg.5.
The lower order of the result is in A -- reg.6.
Store the results.
PROGRAM:
ORG 4100CLR CMOV A,#data1MOV B,#data2MUL ABMOV DPTR,#4500MOVX @DPTR,AINC DPTR MOV A,BMOVX @DPTR,AHERE: SJMP HERE
Copyright © 2026 eLLeNow.com All Rights Reserved.