0% found this document useful (0 votes)
66 views9 pages

Sheet - 1

Download as pdf or txt
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 9

SHEET 1

1. What will be the values of the specified registers and flags after the

execution of the following instructions?

a) MOV CX , 0604H

MOV AX , 0A98H

SHL AH , CL

ADD CX , AX

AX=? , CX = ?

CF=? , PF=? , AF=? , SF=? , ZF=?

b) MOV AX,8F0AH

MUL AL

SUB AH,AL

ADC AX,AX

AX,?= CF=?, PF=?, AF=?, SF=?, ZF?=


Sol:
2. a) Write a subroutine that swaps the first and the last members of an
array of 10 double-words. Note that the array is pointed by SI.

b) Write the definition of another subroutine, which multiplies the


least significant nibble and the most significant nibble of AX register.
The result is to be saved into AL.
3- Write a subroutine, MYSWAP, that swaps the least significant and
most significant bytes of register SI.

4- Given that DS=7890H, SS=987DffH, BX=7A5CH, BP=9A8BH,


SI=7652H determine the Logical and Physical Addresses of the
memory location of the source operands in the following lines of
instructions?

a) MOV DX, [BP] lSI] +7 ;

Logical Address =

Physical Address =
b) MOV DX, [BP] [SI] +7

Logical Address =

Physical Address =

1. List the components of a computer

2. Explain the function of each component of a computer.

3. What is a Microprocessor? What is the difference between a


Microprocessor & microcomputer & microcontroller ?

4. Define bit, byte, word, double word, quad word and instruction ?

5. What determines that Microprocessor is an 8, 16 or 32 bit?

6. Explain the difference between the machine language and the


assembly language of the 8085 microprocessor.

7. What is an assembler?

8. What are low and high level languages?


9. What are the advantages of an assembly language in comparison
with high level languages?

10. List the four operations commonly performed by the MPU.

11. Specify the four control signals commonly used by the 8085 MPU.

12. Specify the function of the address bus and the direction of the
information flow on the address bus.

13. Why is the data bus bidirectional?

14. What is a bus?

15. How many memory locations can be addressed by a


microprocessor with 14 address lines?

16. How many address lines are necessary to address two megabytes
(2048K) of memory?

17. Why is the data bus bidirectional?

18. Specify the control signal and the direction of the data flow on the
data bus in a memory-write operation.

19. What is the function of the accumulator?


20. What is a flag?

21. Why are the program counter and the stack pointer 16-bit
registers?

22. What is the function of the WR signal on the memory chip?

23. Specify the number of registers and memory cells in a 128 x 4


memory chip.

24. What is the memory word size required in an 8085 system?

25. While executing a program, when the 8085 MPU completes the
fetching of the machine code located at the memory address 2057H,
what is the content of the program counter?

26. What is the role of clock in Microprocessor?

27. What is the difference between INR & INX instructions?

28. List all the interrupt signals of 8085 microprocessor.

29. Explain the functions of the ALE and IO/M signals of the 8085
microprocessor.

30. List the sequence of events that occurs when the 8085 MPU reads
from memory.
31. If the 8085 adds 87H and 79H, specify the contents of the
accumulator and the status of the S, Z, and CY flags.

32. If the clock frequency is 5 MHz, how much time is required to


execute an instruction Of 18 T-states?

33. Discuss the programming model of 8085 µP with the help of


suitable diagram.

34. Draw and explain the timing diagram for opcode fetch operation

35. Discuss various types of addressing modes of 8086.

36. List the five categories of 8085 instructions that manipulate data.

37. Define opcode and operand, and specify the opcode and the
operand in the instruction MOV H, L.

38. Write logical steps to add the following two Hex numbers. Both
the numbers should be saved for future use. Save the sum in the
accumulator. Numbers: A2H and 18H.

39. (a) Specify the contents of the registers and the flag status as the
following instructions are executed.
i. MVI A, 00H ii. MVI B, F8H

iii. MOV C, A iv. MOV D, B

v. HLT

(b)Write instructions to load the hexadecimal number 65H in register C


and 92H in accumulator A. Display the number 65H at PORT0 and 92H at
PORT1.

40. Draw and explain the block diagram of a microprocessor 8085.

41. (a)Why the lower order address bus is multiplexed with data bus?
How they will be de-multiplexed?

(b) Differentiate between maskable and non-maskable interrupts.

42. Write an 8085 assembly language program using minimum


number of instructions to add the 16 bit no. in BC, DE & HL. Store the
16 bit result in DE pair.

43. (a) Explain in detail the following instructions:-

(i) ADC (ii) LHLD (iii) RLC (iv) DI (b) Define & explain the term
addressing modes.

You might also like