Found 475 Articles for 8085

8085 Program to simulate a real-time clock

George John
Updated on 30-Jul-2019 22:30:25

2K+ Views

Now let us see a program of Intel 8085 Microprocessor. In this program we will see how to generate real time clock using 8085.Problem Statement:Write 8085 Assembly language program to simulate real-time clock.Discussion:In this program we are creating a real time clock using 8085MPU. Here we are generating 1s delay to update seconds. This clock is 24Hrs clock. We are initializing the clock from 00:00:00. To display the values into 7-segment display we have to use some Port ICs and correct configurations. In each 60 seconds the minute field is updated, and in each 60 minutes the hour field is ... Read More

8085 Program to alternately display 00 and FF in the data field

Chandu yadav
Updated on 30-Jul-2019 22:30:25

2K+ Views

Now let us see a program of Intel 8085 Microprocessor. In this program we will generate 00H and FFH alternatively.Problem Statement:Write 8085 Assembly language program to generate 00H and FFH alternatively.Discussion:The 00H and FFH are changed alternatively in each second. So we need one second delay. We have created delay subroutine to generate 1s delay.Note: Here for simplicity we are storing the numbers into memory. To show the numbers, we can use 7 – segment display and other display function for showing it into the display.Input:Here we are not providing any input.Flow Diagram:Program:AddressHEX CodesLabelsMnemonicsCommentsF000AFLOOPXRA AClear A registerF00132, 50, 80STA 8050HStore ... Read More

8085 Program to simulate decimal down counter

Arjun Thakur
Updated on 30-Jul-2019 22:30:25

469 Views

Now let us see a program of Intel 8085 Microprocessor. In this program we will see how to simulate the decimal down counter.Problem Statement:Write 8085 Assembly language program to simulate decimal down counter.Discussion:In this section we are simulating the decimal down counter. Here the counter will count 100 decimal numbers from 99 to 0. All values will be updated in each 0.5 seconds. For decimal count we are using the DAA instruction.Note: Here for simplicity we are storing the numbers into memory. To simulate it like a counter we can use 7-segment display to show the numbersInput:Here we are not ... Read More

Generation of time delay in 8085

Ankith Reddy
Updated on 30-Jul-2019 22:30:25

24K+ Views

In this section we will see how to generate the time delay using 8085 programs. The delay will be used in different places to simulate clocks, or counters or some other area.When the delay subroutine is executed, the microprocessor does not execute other tasks. For the delay we are using the instruction execution times. executing some instructions in a loop, the delay is generated. There are some methods of generating delays. These methods are as follows.Using NOP instructionsUsing 8-bit register as counterUsing 16-bit register pair as counter.Using NOT instructions:One of the main usage of NOP instruction is in delay generation. ... Read More

8085 Program to simulate decimal up counter

George John
Updated on 30-Jul-2019 22:30:25

1K+ Views

Now let us see a program of Intel 8085 Microprocessor. In this program we will see how to simulate the decimal up counter.Problem Statement:Write 8085 Assembly language program to simulate decimal up counter.Discussion:In this section we are simulating the decimal up counter. Here the counter will count 100 decimal numbers from 0 to 99. All values will be updated in each 0.5 seconds. For decimal count we are using the DAA instruction.Note: Here for simplicity we are storing the numbers into memory. To simulate it like a counter we can use 7-segment display to show the numbersInput:Here we are not ... Read More

8085 Program to perform sorting using selection sort

Chandu yadav
Updated on 30-Jul-2019 22:30:25

2K+ Views

Now let us see a program of Intel 8085 Microprocessor. In this program we will see how to sort a sequence of numbers using selection sort.Problem Statement:Write 8085 Assembly language program to sort a given sequence using selection sort in ascending order. The numbers are stored at 8001H onwards. 8000H is holding the block size.Discussion:In the selection sorting technique, we will choose the minimum or the maximum term from a set of numbers. In this case we are considering the sorting in ascending order, so we are choosing the minimum number. By taking the minimum number, we are swapping it ... Read More

8085 Program to check for two out of five code

Arjun Thakur
Updated on 30-Jul-2019 22:30:25

408 Views

Now let us see a program of Intel 8085 Microprocessor. This program will help us to check a given value is a valid 2 out of 5 code or not.Problem Statement:Write 8085 Assembly language program to check whether a given number is 2 out of five code or not. The number is stored at location 8000H.Discussion:The checking of two out of five code is simple. At first we have to check the higher order three bits are 0 or not. If they are 0, then we will check next five bits. If there are exactly two 1s in these 5-bits, ... Read More

8085 Program to Subtract two multi-Byte numbers

Ankith Reddy
Updated on 30-Jul-2019 22:30:25

1K+ Views

Now let us see a program of Intel 8085 Microprocessor. This program is mainly for subtracting multi Byte numbers.Problem Statement:Write 8085 Assembly language program to add two multi-Byte numbers.Discussion:We are using 3-Byte numbers. The numbers are stored into the memory at location 8001H and 8004H. One additional information is stored at location 8000H. In this place we are storing the Byte count. The result is stored at location 8050H.We are taking the address of first operand block address into DE register pair, and the second operand block address into HL pair. The BC register pair is storing the destination address ... Read More

Applications of 8212 in mode 1

Jennifer Nicholas
Updated on 30-Jun-2020 05:17:33

147 Views

Let's discuss the Following two applicationsLow order address latchOutput port which is interrupting.Intel 8212 as low-order address latch − Here the low-order address lines and data lines are multiplexed and are available as AD7-0. It is convenient to have the address as many times and the separation of data on the different lines. Let's for an example, if we connect a chip like 2716 in an 8085-based system, the 2716 needs bit address of11 bits in its address pins, and here is separate 8 pins kept for data. Now connecting the AD7-0 pins of 8085 to the LS 8 address ... Read More

Applications of 8212 in mode 0

Anvi Jain
Updated on 30-Jun-2020 05:18:41

182 Views

We use Intel 8212 in variety of applications. Let us discuss applications of 8212 in Mode 0It acts as buffer which is gatedBus driver which is Bi-directionalFor Interrupting the input portTo supply of eight instructions based on RST.Intel 8212 as gated buffer: A weak logic signal is converted to a strong logic when 8212 works in logic 0. The outputs of 8212 in mode0 is capable of sinking the 15 mA in 0 state, and which proves that a minimum high output voltage of nearly 3.65 V is in the state 1. Intel8212 is always given backup when the input ... Read More

Advertisements