You are on page 1of 2

[1] Write an ALP to load 80H in register A, 32H in register B & 98h in register C.

Now interchange the


content of registers [A->B, B->C, C->A].

[2] Write an ALP to add two nos. 23H and 13H and store the result in C register and display all flags
reflected.

[3] Write an ALP to subtract two nos. 23H and 13H and store the result at 8050 memory location.

[4] Write an ALP to add 98H to 64H. Then after incrementing the result, subtract 11H from it . Store the
result in register B.

[5] To Write an ALP to add F3H and 69H. If carry occurs, save it in register D & sum is saved in register E

[6] To Write an ALP to add the contents of memory locations 8200H and 8201H and place the result in the
memory locations 8040H.

[7] Write a program to move a block of the memory starts at the location 8300 to the location 8400. The
length of the block is given in the memory location 8200.

[8] Write an assembly language program to count number of even and odd values from the block of 10 data
stored at memory location 8200, and store the odd count at location 8300 and even count at 8301.

[9] Write an assembly language program to count number of zero’s from the block of data stored at
memory location 8050.

[10] Write an assembly language program to move the negative numbers from the block of data stored at
memory location 8050 to the location 8080.

[11] To Write an ALP to count number of l's in the contents of D register and store the count in the B
register.

[12] Write an ALP to find out smallest number from the given block of 10 data stored at memory location
8200 to 8209. Store the minimum number in accumulator.

[13] Write an ALP to exchange the nibbles in the given byte. [eg. Reg A=12H  A= 21H]

[14] Write an ALP to add all the array elements. The array stored at location 8050 to 8059. And Store the
result at location 805A and 805B.

[15] Write an ALP to multiply two 8-bit nos.

[16] Write an ALP to find the square of a number using look-up-table.

[17] Write an ALP to sort the data block stored at location 8050H.

[18] Write an ALP to transfer the data block from xx20H to xx40H in REVERSE order.

[19] Write an assembly language program to convert BDC no. into equivalent HEX number.

[20] Write an assembly language program to convert HEX no. into equivalent BCD number.
List of Study Practicals for M.P

TUTORIAL 1

1). Explain the 40 pin diagram of 8085 microprocessor.

2). Explain the functional block diagram of 8085.

Tutorial 2

1). Classify the instruction set of 8085 microprocessor. Write the all instructions with their syntax.

Tutorial 3

1). Interface one 4k EPROM and one 4K RAM with 8085 microprocessor at address A000H and 8000H
respectively.

2). Draw the timing diagram for the following instruction:

(a). Mov A.B (c) Mov A,M

(b). STA 5000H

Tutorial 4

Q.1 Write initialization instructions for 8255A to set up:


(a). Port A as an input port in Mode 0.
(b). Port B as an output port in Mode 1 for interrupt I/O.
©. Port Cu as an output port in Mode 0.
Q.2 Write initialization instruction for 8259A Interrupt Controller to meet the following
specification.
(a) Interrupt Vector address : 2090H
(b) Call address interval of 8 bit
(c) Nested Mode.
Q.3 Explain 8254 (Programmable interval timer) with neat and clean waveform for each
mode.
Q.4 Write the procedure to convert BCD to Binary and Binary to BCD.
Note:
1. One program on one page, output should be written at the end of your
respective program.
2. All the File pages should be of one type in your file.
3. Tutorials should be written in file pages and has to be attached in the file. Diagram
should be neat and clean.

You might also like