Question: write these programs for 8085 microprocessor - a)Exchange (or swap) two blocks of ten bytes stored at 2000H and 2050H. b)Write a program for finding
write these programs for 8085 microprocessor -
a)Exchange (or swap) two blocks of ten bytes stored at 2000H and 2050H. b)Write a program for finding factorial of a number(1 to 8). c)N bytes of data is stored at memory location starting at 2500H and value of N is provided at 24FFH. Add all the data bytes and store the result at the end of the array in two locations. Use register B to accommodate carries while computing the sum. (Addition of a series) d)There is a set of integers in memory from 2050H and N is stored at 204FH. Store all even values at address starting from 2500H and odd values at address starting from 3000H. (Even and Odd). e)A block of 10 bytes is stored in memory from 2500H onwards. Write a program to shift these in reverse order in the same block of locations without using other memory locations. f)A block of 10 bytes is stored in memory from 2500H onwards. Write a program to shift all positive numbers to 2600H onwards and all negative numbers to 2700H onwards. (positive and negative)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
