Вы находитесь на странице: 1из 2

ASSIGNMENT NO 1

Note: Please submit your assignment in A4 sheets only

SECTION A-2 MARKS QUESTIONS


1. Differentiate between 8085 microprocessor and 8051 microcontroller on the basis of CPU
architecture and applications.
2. In 8085 microprocessor, the signal lines AD0 to AD7 are multiplexed and serve as a dual purpose.
They are used as the low order address bus as well as the data bus. How to latch the lower order
address from multiplexed bus?
3. Which machine cycles are taken by 8085 microprocessor to execute the following instructions:

a. LDA 2080H
b. MOV A,M

4. Data byte 65 H is stored in register B and data byte 57 H is stored in the accumulator. Show the
contents of register B,C and the accumulator after the execution of following instructions:
MOV A,B
MOV C,A

5. Draw the serial bit format for ASCII character 49H at 1200 baud using one start bit and two stop
bits.

SECTION B-5 MARKS QUESTIONS


6. What will be the contents of SP register and BC register-pair of 8085 after executing POP
instruction?
LXI SP, 3000H
LXI H, 42F2H
PUSH H
POP B
7. Differentiate between the peripheral-mapped I/O and Memory-mapped I/O technique used in 8085
in terms of:
a. Number of bits used for address.
b. Status of IO/M signal for device selection
c. Instructions used for data transfer
d. Time for execution (speed)
8. Write an assembly language program to calculate the sum of an array of numbers. The length of the
array is stored in memory location 9000 H; the array begins at memory location 9001 H. Assume
that the sum is an 8-bit number. So, ignore the carry and store the sum in memory location 9100 H.

SECTION C -10 MARKS QUESTION


9. A safety control system has an input address FF H and 8 dip switches are attached to it. It has an
output address of F9 H with eight different system e.g. AC, Heater, Light, Fan, Exit, Enter, Emergency
and fire alarm. Draw the interfacing diagram using peripheral mapped I/O interfacing technique to
switch on heater and fire alarm.

Вам также может понравиться