Intel 8085 programs
A collection of educational assembly programs for the Intel 8085 microprocessor. Learn the basics of programming, memory handling, arithmetic operations and data processing algorithms.
1.
Functions that perform addition and subtraction
Implementation of the basic arithmetic operations of addition and subtraction of 8-bit numbers using various addressing modes
2.
Copying array elements into another array
A program for moving data from one block of memory to another using indirect addressing
3.
Adding all elements of an array
Computing the sum of all array elements using a loop and accumulating the result in a register pair
4.
Search for an element in an array
A linear search algorithm that looks for a given value in an array and returns the index of the found element
5.
Comparison of two arrays
An element-by-element comparison of two arrays that determines the number of matching and differing elements
6.
Swapping the elements of two arrays
Swapping the contents of two arrays using a temporary buffer in memory or in registers
7.
Search for the smallest element in an array
An algorithm that finds the minimum value in an array and keeps both its value and its position
8.
Array sorting
Implementation of the bubble sort algorithm that arranges array elements in ascending order
9.
Array reversal
Reversing the order of elements in an array using two pointers (start and end)
10.
Parity check of the bits set in each array element
Analysis of each byte of an array for an even number of set bits using the parity flag
11.
Addition of two matrices (3x3)
An element-by-element addition of two 3x3 matrices using nested loops and indexed addressing
12.
Converting a BCD number to its binary equivalent
Conversion of a binary-coded decimal (BCD) number to its binary representation using arithmetic operations
13.
Multiplying the 16-bit number 90h by 3
Implementation of multiplication of a 16-bit number by a constant using repeated addition and shifts
14.
Squaring each element of an array
Computing the square of each array element by multiplying the number by itself with overflow handling