Microprocessor Articles

Page 21 of 42

8085 Program to perform selection sort in ascending order

George John
George John
Updated on 30-Jul-2019 1K+ 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 perform selection sort in descending order

Ankith Reddy
Ankith Reddy
Updated on 30-Jul-2019 853 Views

Now let us see a program of Intel 8085 Microprocessor. In this program we will see how to sort a sequence of numbers in reverse order using selection sort.Problem Statement:Write 8085 Assembly language program to sort a given sequence using selection sort in descending 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 descending order, so we are choosing the maximum number. By taking the maximum number, we ...

Read More

Read and Write the stack in 8085 Microprocessor

Arjun Thakur
Arjun Thakur
Updated on 30-Jul-2019 2K+ Views

Reading from the StackLet us consider that SP contents the address FC78H, and we want to read information from a stack location. In this case, we are not interested in reading from a location whose address is less than the memory address present in SP. This is because 8085 interprets them as useless information. For example, there is no point in reading useless information from memory location FC75H.SP interprets that, memory locations FC78H, FC79H, ..., FFFFH are all interpreted by 8085 to have useful information. To read from Stack, the instruction is POP in 8085 microprocessor instruction set. Here we ...

Read More

Difference between call and jump instructions in 8085 Microprocessor

Arjun Thakur
Arjun Thakur
Updated on 30-Jul-2019 4K+ Views

The main differences between a JMP instruction and a CALL instruction is as follows –If a JMP instruction is executed, we jump to the destination location, and the execution carries on from there, without bothering to come back later to the instruction after the JMP. On the other hand, if a CALL instruction is executed, we jump to the subroutine, and the execution carries on from there till the RET instruction is executed in the subroutine, and then we come back to the instruction after the CALL in the main program.The address of the next instruction after the CALL instruction ...

Read More

8085 Program to simulate decimal up counter

George John
George John
Updated on 30-Jul-2019 2K+ 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

Creation of .ASM file using a text editor

George John
George John
Updated on 30-Jul-2019 5K+ Views

The program written in assembly language is entered by us by the help of any editor, we prefer a screen editor because when we enter the program it is of no importance for the particular exact column label of instructions and the starting of the program. But the point to be noted that the instruction must start after column 1. More over the aligned program must be lucidly written for reading if its various fields should be assigned properly. There are many features which the editor provides like many help features which the user gets to be more familiar by ...

Read More

Prompt mode in 8085 Microprocessor

Chandu yadav
Chandu yadav
Updated on 30-Jul-2019 555 Views

We have seen previously that the linker is invoked in three modes i.e. they are command line mode, prompt mode and data file mode. In the Prompt mode the linker is run by simply typing the ‘LINK85’. Responding to the prompt the linker requests the user for the file name. In the given example, responding with ‘MULT.OBJ’ is there in fact MULT is enough.The linker prompts for the address of the offset. The value of the offset which is input by means of the user is finally added to the value of any ORG statements in the file. In response ...

Read More

Chip Select Logic in 8085 Microprocessor

George John
George John
Updated on 30-Jul-2019 2K+ Views

The master of microcomputer system is the microprocessor since all the operations of a computer are controlled by the microprocessor, the control unit often called as (CU) is found in the microprocessor. In the microcomputer system apart from processor there are several chips of RAM, CHIPS of EPROM and other Input Output port chips, timer 8253 is also present. But surprisingly at any moment of time the remains with only one of the chip. By activation of the chip selection the processor, the selection of the chip of the processor is done. Hence except the processor all chips must have ...

Read More

Pin details and its address range in 8085 Microprocessor

Ankith Reddy
Ankith Reddy
Updated on 30-Jul-2019 2K+ Views

Let us assume that we have a RAM chip of 2K x 8, It signifies that, we have 2 x 1024 = 2048 memory locations having information of 8 bits at each location. For selecting one of 2K = 211 memory locations in chip, there should be exactly input pins of 11 address lines. For bidirectional data transfer scheme, there should be eight pin involved in this process. The processor action involved in it is signified by the input pins RD* and WR*. Two pins are specified for grounding process of the pin and connecting of Direct Current of +5 ...

Read More

Use of 74138 in ALS-SDA-85M kit

Ankith Reddy
Ankith Reddy
Updated on 30-Jul-2019 233 Views

In the ALS-SDA-85M kit, we have 74138 EPROM of minimum size 16K x 8 and size of RAM IS 2K x 8, there are empty sockets for the EPROM to get expanded. The selection of these four chips is done by the integrated circuit 74138. Every time the selection of 74138 is done when IO/M* turns to 0, the election of 27138 is done when A15A14 turns to 0. 27138 have the lowest address range likeLowest address: 00 00000000000000 is 0000H.Highest address: 00 11111111111111 is 3FFFH.Whereas in 74138 the address ranges are as follows -Lowest address: 11 xxx 00000000000Highest Address: 11 xxx 11111111111.The ...

Read More
Showing 201–210 of 417 articles
« Prev 1 19 20 21 22 23 42 Next »
Advertisements