Microprocessor and Microcontroller (324EE) Sheet 1: Dr. Salman Arafath Mohammed

Download as pdf or txt
Download as pdf or txt
You are on page 1of 13

Microprocessor and Microcontroller (324EE)

Sheet 1
1. Number Conversion to different bases
January 22, 2022

Chapter 1
Dr. Salman Arafath Mohammed
Microprocessor and Microcontroller (324EE)
Sheet 1
2. What is microprocessor?

3. For adding two 32-bit numbers in 8085 and 8086 takes how many clock
cycles?
January 22, 2022

Chapter 1
Dr. Salman Arafath Mohammed
Microprocessor and Microcontroller (324EE)
Sheet 1

4. Calculate the time required to execute an instruction that add two 32-bit
numbers in 8085, and 8086?
January 22, 2022

Chapter 1
Dr. Salman Arafath Mohammed
Microprocessor and Microcontroller (324EE)
Sheet 1
5. If a microprocessor can address 64K of memory then find the length of
program counter?

6. How much memory is addressable by 8086 microprocessor?

7. Which pin signifies that microprocessor working mode?


January 22, 2022

Chapter 1
Dr. Salman Arafath Mohammed
Microprocessor and Microcontroller (324EE)
Sheet 1
8. How microprocessor differentiates the signal is for memory or I/O ?
9. Which pins are required to generate memory read signals
January 22, 2022

Chapter 1
Dr. Salman Arafath Mohammed
Microprocessor and Microcontroller (324EE)
Sheet 1
10. For above problem number 9 find the circuitry required to generate memory
read signal?
January 22, 2022

Chapter 1
Dr. Salman Arafath Mohammed
Microprocessor and Microcontroller (324EE)
Sheet 1
11. For problem number 10 find the minimum circuitry required to generate
memory read signal?
January 22, 2022

Chapter 1
Dr. Salman Arafath Mohammed
Microprocessor and Microcontroller (324EE)
Sheet 1
12. The contents of the following registers are:
CS = 1111H, DS = 3333H, SS = 2526H, IP = 1232H, SP = 1100H, DI =
0020H. Calculate the corresponding physical addresses for the address bytes
in CS, DS and SS.
January 22, 2022

Chapter 1
Dr. Salman Arafath Mohammed
Microprocessor and Microcontroller (324EE)
Sheet 1
13. If CS = 24F6H and IP = 634AH. Find
a.
i. Logical address
ii. Offset address
iii. Physical address
iv. Lower Range of Code segment
v. Upper Range of Code segment

b. Assume that DS is 578CH. To access a given byte of data at physical


memory location 67F66H, does the data segment cover the range
where data is located? If not what changes need to be made.
January 22, 2022

Chapter 1
Dr. Salman Arafath Mohammed
Microprocessor and Microcontroller (324EE)
Sheet 1

14. What is the physical addresses in the following cases:

a. If DS = 1230H and SI = 0045H in 8086.


b. If DS = 100, BX = 30, SI = 70. (numbers are in decimal) For the
addressing mode [BX +SI] +25.
c. If segment and offset values are 1234:7890(in Hexadecimal)
January 22, 2022

Chapter 1
Dr. Salman Arafath Mohammed
Microprocessor and Microcontroller (324EE)
Sheet 1
15. If the contents of AX is 0001 and DX is 2500 IP is 0100 show the contents
of the registers after executing the following instruction: mul DH

16. If the stack pointer is FFEE , contents of instruction pointer register is 0100,
contents of AX register is AABB and contents of BX register is CCDD,
Code segment is 0B8F during the execution of following instruction with
neat diagram show the values of AX,BX,CX,DX,SP and IP registers also
specify the logical address for each instruction. (Assume the processor is
8086).
push ax
push bx
push ax
pop cx
pop ax
pop dx
January 22, 2022

Chapter 1
Dr. Salman Arafath Mohammed
Microprocessor and Microcontroller (324EE)
Sheet 1
January 22, 2022

Chapter 1
Dr. Salman Arafath Mohammed
Microprocessor and Microcontroller (324EE)
Sheet 1

17. In 80x86 Microprocessor the newer debuggers use an abbreviation for the
Name of the Flag which simply shows whether its 0 or 1. List all the text
book notations and debugger abbreviations with corresponding values?
January 22, 2022

Chapter 1
Dr. Salman Arafath Mohammed

You might also like