0% found this document useful (0 votes)
29 views1 page

Division of Two 8-Bit Numbers Program Address Lable Mnemonics & Operand Opcode

This program divides two 8-bit numbers stored in registers A and B. It moves the numbers 74 and 20 into registers A and B respectively, performs the division of A/B, and stores the result from register A at memory location 4500 and increments the pointer to store the remainder from register B.

Uploaded by

anandhkr
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views1 page

Division of Two 8-Bit Numbers Program Address Lable Mnemonics & Operand Opcode

This program divides two 8-bit numbers stored in registers A and B. It moves the numbers 74 and 20 into registers A and B respectively, performs the division of A/B, and stores the result from register A at memory location 4500 and increments the pointer to store the remainder from register B.

Uploaded by

anandhkr
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

DIVISION OF TWO 8-BIT NUMBERS PROGRAM ADDRESS LABLE MNEMONICS & OPERAND MOV A, #74 MOV B,#20 DIV

AB MOV DPTR, #4500 MOV X@ DPTR,A INC DPTR MOV A,B MOV X@ DPTR,A SJMP L1 OPCODE

L1:

You might also like