Microprocessors (8086)

New !!!....... 8086 programs....
Check out the 8255 description page.......
MICROPROCESSOR LAB (Sample questions) (S7& AEI andEC)
1.a) Write an Assembly Language Program (ALP) to convert a 2 byte BCD number to equivalent binary. b) Write a program to reverse a 16 bit character string eg, ABCD to DCBA. Write a program to display decimal numbers from 1 to 9999. 2 Generate multiplication table up to 10 for any binary number and display the value in BCD. 3 Write a program to convert a binary number to BCD 4 Find S Si where Si = Xi *Yi where i is ranging from 1 to 10 x and y are decimal numbers S should also be a Decimal number. 5 A series of numbers are stored in a memory location in 2’s complement form. Find the sum and count of both positive and negative numbers among them. 6 Write an ALP to generate a triangular waveform of frequency 2 kHz. 7 Write a program to find out the number of positive numbers and negative numbers from a given series of signed numbers. 8 Write a program to find out the count of even and odd numbers from a given series of 16 bit hexadecimal numbers. 9 Write an ALP to find the difference of two multibyte Decimal numbers. 10 Write an ALP to generate a two out of phase square waveforms. 11 Write an ALP to display numbers from 0 to 9 and from 9 to 0. 12 Write an ALP to find the parity of a given number. 13 Write an ALP to display numbers from 0 to 60. 14 Write a program to convert a given BCD number to equivalent Binary. 15 Write a program to multiply two 8-bit numbers by shift and add method. 16 Write an ALP to solve the equation (A + B)*2. 17 Find all the prime numbers from 1 to 100. 18 Find S where si = xi/yi where Y is an 16 bit no .it is from 1 to5. 19 Write a program to find the product of largest and smallest among a series of numbers 20 Write an ALP to find the difference of two-multi byte decimal number. 21 Write a program to find the sum of two multibyte Decimal numbers. 22 Write a program to sort a set of 10 numbers in ascending order. 23 Write a program to find the prime numbers from 1 to 100. 24 Write a program to find number of times the character ‘a’ is repeated in an array 25 Find S where si =xi/yi where y is an 8 bit no i is 1 to 5 . 26 Write a program to find S where S = xi where x is a decimal no I is from 1 to 5 . S should be is decimal . 27 Find Si where Si = xi + yi the value of i is ranging from 1 to 10 x & y are 8 bit unsigned numbers. S may be a16 bit number. 28 Write a program to find Si where Si = Xi*2 where Xi is an 8 bit no i is ranging from1 to 5. 29 Find all the prime numbers from 1 to 100. 30 Write an ALP to count in the following sequence 0 20 0 31 Write an ALP to display the message ECE 2000 using interface card. 32 Write an ALP to find the sum of even and odd numbers from a series of numbers. 33 Write an ALP to find the product of 2 matrices given in thefrom of a list of numbers (row- wise). 34 Write an ALP to find the sum of two matrices (3 x 3) are given as a list of numbers,store the result in the from of a list of numbers . 35 Write an ALP to find the number of even and odd number from a string of number. 36 Write a program to display the following sequence 0 –2 – 4 – 6 – 8 – 0. 37 Write a program for the addition of two (3 X 3 ) matrices. 38 Write a program to verify the relation (A- B )2 = A2 –2AB+B2 where A and B are two 16 bit numbers , the numbers are represented in sign magnitude form . 39 Find the sum of all even numbers which is greater than 3850H in a set of 5 numbers. Result may be a 32 bit number. 40 Write an ALP to set up an up-down decimal count (0-20-0)
|
JA Short Jump if first operand is Above second operand (as set by CMP instruction). Unsigned. JG Short Jump if first operand is Greater then second operand (as set by CMP instruction). Signed
|