You are on page 1of 2

JAYPEE UNIVERSITY OF ENGINEERING &

TECHNOLOGY
14B11EC415, MICROPROCESSOR & MICROCONTROLLER

TUTORIAL SHEET- 5 DATE : _____________

Q1. Write an assembly language program to count the number of one’s in a data which is
stored in memory location 3000H. The program may start from the address location
2000H and store the count in memory location 3550H. Let the data be 5AH.
Q2. Write an assembly language program to sum the even numbers form the series of
numbers which is stored from memory location 3301H and the count of data is stored in
memory location 3300H. Store the result in memory location 3500H, neglect carry. Let
the program starts from memory location 2000H. Let the data be 32H, 45H, 61H, 22H,
16H, 24H.
Q3. Write an assembly language program to alter the contents of flag register in 8085
microprocessor. Let the program starts from memory location 2000H.
Q4. Write an assembly language program to find the factorial of a number. Let the result be 8
bit number. The number is stored in the memory location 3000H and the result is stored
in memory location 3500H. Let the program starts from memory location 2000H.
Q5. In Fig. (1), identify the memory map.
Q6. In Fig. (1), if we use all the output lines (O7- O0) of the decoder to select eight memory
chips of the same size as the 6116, what is the total range of the memory map?
Q7. In Fig. (2), specify the output port address if the output signal O5 of the decoder is
connected to gate 74LS02 . Write instructions to display digit “0” at the output port in
Fig. (2).

Fig. (1)
Fig. (2)

You might also like