Arnab Chakraborty has Published 4293 Articles

Program to Multiply two 8 Bit numbers in 8051 Microprocessor

Arnab Chakraborty

Arnab Chakraborty

Updated on 09-Oct-2019 07:59:02

2K+ Views

Here we will see how to multiply two 8-bit numbers using this 8051 microcontroller. The register A and B will be used for multiplication. No other registers can be used for multiplication. The result of the multiplication may exceed the 8-bit size. So the higher order byte is stored at ... Read More

Program to Subtract two 8 Bit numbers in 8051 Microprocessor

Arnab Chakraborty

Arnab Chakraborty

Updated on 09-Oct-2019 07:57:00

3K+ Views

Now, in this section we will see how to subtract two 8-bit numbers using 8051 microcontroller. The register A (Accumulator) is used as one operand in the operations. There are seven registers R0 – R7 in different register banks. We can use any of them as second operand.We are taking ... Read More

Program to Divide two 8 Bit numbers in 8085 Microprocessor

Arnab Chakraborty

Arnab Chakraborty

Updated on 09-Oct-2019 07:49:58

3K+ Views

Here we will see 8085 program. This program will divide two 8-bit numbers using 8085 microprocessor.Problem Statement −Write an 8085 Assembly language program to divide two 8-bit numbers and store the result at locations 8020H and 8021H.Discussion −The 8085 has no division operation. To get the result of division, we should use ... Read More

Program to Subtract two 8 Bit numbers in 8085 Microprocessor

Arnab Chakraborty

Arnab Chakraborty

Updated on 09-Oct-2019 07:47:46

7K+ Views

Here we will see one 8085 program. In this program we will see how to subtract two 8-bit numbers.Problem Statement −Write an 8085 Assembly language program to subtract two 8-bit numbers and store the result at locations 8050H and 8051H.Discussion −In 8085, the SUB instruction is used 2’s complemented method for subtraction. ... Read More

Program to Add two 8 Bit numbers in 8085 Microprocessor

Arnab Chakraborty

Arnab Chakraborty

Updated on 09-Oct-2019 07:43:51

3K+ Views

Here we will see one 8085 assembly language program. In this program we will see how to add two 8-bit numbers.Problem Statement −Write an 8085 Assembly language program to add two 8-bit numbers and store the result at locations 8050H and 8051H.Discussion −To perform this task, we are using the ADD operation ... Read More

Program to Add two multi-byte numbers in 8085 Microprocessor

Arnab Chakraborty

Arnab Chakraborty

Updated on 09-Oct-2019 07:41:29

6K+ Views

In this section we will see one Intel 8085 Microprocessor program. This program is mainly for adding multi byte numbers.Problem Statement −Write an 8085 Assembly language program to add two multi-byte numbers.Discussion −We are using 4-byte numbers. The numbers are stored into the memory at location 8501H and 8505H. One additional information ... Read More

Program to convert HEX to ASCII in 8085 Microprocessor

Arnab Chakraborty

Arnab Chakraborty

Updated on 09-Oct-2019 07:38:49

884 Views

Here we will see one 8085 Microprocessor program. That program will convert HEX to ASCII values.Problem Statement −Write an 8085 Assembly language program to convert Hexadecimal characters to ASCII values.Discussion −We know that the ASCII of number 00H is 30H (48D), and ASCII of 09H is 39H (57D). So all other numbers ... Read More

Program to convert ASCII to HEX in 8085 Microprocessor

Arnab Chakraborty

Arnab Chakraborty

Updated on 09-Oct-2019 07:36:07

782 Views

Here we will see one 8085 Microprocessor program. This program will convert ASCII to HEX values.Problem Statement −Write an 8085 Assembly language program to convert ASCII to Hexadecimal character values.Discussion −We know that the ASCII of number 00H is 30H (48D), and ASCII of 09H is 39H (57D). So all other numbers ... Read More

Program to convert HEX to BCD in 8085 Microprocessor

Arnab Chakraborty

Arnab Chakraborty

Updated on 09-Oct-2019 07:34:22

1K+ Views

Here we will see one 8085 program that will convert binary numbers (HEX) to its BCD equivalent.Problem Statement−A binary number is stored at location 800H. Convert the number into its BCD equivalent and store it to the memory location 8050H.Discussion−Here we are taking a number from the memory, and initializing ... Read More

Program to convert BCD to HEX in 8085 Microprocessor

Arnab Chakraborty

Arnab Chakraborty

Updated on 09-Oct-2019 07:31:29

1K+ Views

Here we will see one 8085 program, that program will convert BCD numbers to HEX equivalent.Problem Statement −A BCD number is stored at location 802BH. Convert the number into its binary equivalent and store it to the memory location 802CH.Discussion −In this problem we are taking a BCD number from the memory ... Read More

Advertisements